Skip to content

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 <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Reviewed-by: Neil Armstrong <[email protected]> Fixes: 069a6c0 ("drm: panel: Add LG sw43408 panel driver") Reviewed-by: Marijn Suijten <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Dmitry Baryshkov <[email protected]>
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)