Commit 7534904d authored by Duje Mihanović's avatar Duje Mihanović Committed by Lee Jones

backlight: ktd2801: Make timing struct static

The struct containing the KTD2801 timing can be made static as it's not
referenced outside the KTD2801 driver. Do this to prevent sparse
complaints.
Reported-by: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202402100625.M0RkJhMh-lkp@intel.com/Signed-off-by: default avatarDuje Mihanović <duje.mihanovic@skole.hr>
Reviewed-by: default avatarDaniel Thompson <daniel.thompson@linaro.org>
Link: https://lore.kernel.org/r/20240210-ktd2801-static-v1-1-90ad2e2e8483@skole.hrSigned-off-by: default avatarLee Jones <lee@kernel.org>
parent a5554f1b
......@@ -13,7 +13,7 @@
#define KTD2801_MAX_BRIGHTNESS 255
/* These values have been extracted from Samsung's driver. */
const struct expresswire_timing ktd2801_timing = {
static const struct expresswire_timing ktd2801_timing = {
.poweroff_us = 2600,
.detect_delay_us = 150,
.detect_us = 270,
......
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