Commit 8c318cb7 authored by Dmitry Baryshkov's avatar Dmitry Baryshkov

drm/panel/lg-sw43408: mark sw43408_backlight_ops as static

Fix sparse warning regarding symbol 'sw43408_backlight_ops' not being
declared.
Reported-by: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202404200739.hbWZvOhR-lkp@intel.com/Reviewed-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Fixes: 069a6c0e ("drm: panel: Add LG sw43408 panel driver")
Reviewed-by: default avatarMarijn Suijten <marijn.suijten@somainline.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240528-panel-sw43408-fix-v4-2-330b42445bcc@linaro.orgSigned-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
parent 33defcac
......@@ -182,7 +182,7 @@ static int sw43408_backlight_update_status(struct backlight_device *bl)
return mipi_dsi_dcs_set_display_brightness_large(dsi, brightness);
}
const struct backlight_ops sw43408_backlight_ops = {
static const struct backlight_ops sw43408_backlight_ops = {
.update_status = sw43408_backlight_update_status,
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment