Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 8c318cb

Browse files
committed
drm/panel/lg-sw43408: mark sw43408_backlight_ops as static
Fix sparse warning regarding symbol 'sw43408_backlight_ops' not being declared. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202404200739.hbWZvOhR-lkp@intel.com/ Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Fixes: 069a6c0 ("drm: panel: Add LG sw43408 panel driver") Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org> Link: https://patchwork.freedesktop.org/patch/msgid/20240528-panel-sw43408-fix-v4-2-330b42445bcc@linaro.org Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
1 parent 33defca commit 8c318cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/panel/panel-lg-sw43408.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ static int sw43408_backlight_update_status(struct backlight_device *bl)
182182
return mipi_dsi_dcs_set_display_brightness_large(dsi, brightness);
183183
}
184184

185-
const struct backlight_ops sw43408_backlight_ops = {
185+
static const struct backlight_ops sw43408_backlight_ops = {
186186
.update_status = sw43408_backlight_update_status,
187187
};
188188

0 commit comments

Comments
 (0)