From: Duje Mihanović Date: Sat, 10 Feb 2024 16:16:17 +0000 (+0100) Subject: backlight: ktd2801: Make timing struct static X-Git-Tag: v6.9-rc1~119^2~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7534904d421e92d0b1ab46c29f899f7c96697f4c;p=thirdparty%2Fkernel%2Flinux.git 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: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202402100625.M0RkJhMh-lkp@intel.com/ Signed-off-by: Duje Mihanović Reviewed-by: Daniel Thompson Link: https://lore.kernel.org/r/20240210-ktd2801-static-v1-1-90ad2e2e8483@skole.hr Signed-off-by: Lee Jones --- diff --git a/drivers/video/backlight/ktd2801-backlight.c b/drivers/video/backlight/ktd2801-backlight.c index c020acff40f13..d295c27660251 100644 --- a/drivers/video/backlight/ktd2801-backlight.c +++ b/drivers/video/backlight/ktd2801-backlight.c @@ -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,