]> Gentwo Git Trees - linux/.git/commitdiff
backlight: ktd2801: Depend on GPIOLIB
authorDuje Mihanović <duje@dujemihanovic.xyz>
Tue, 29 Jul 2025 17:18:30 +0000 (19:18 +0200)
committerLee Jones <lee@kernel.org>
Thu, 6 Nov 2025 16:56:01 +0000 (16:56 +0000)
The LEDS_EXPRESSWIRE library used by the driver requires GPIOLIB. Make
sure this dependency is not left unsatisfied.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Closes: https://lore.kernel.org/all/b6c481bb-e854-405e-a428-90301789fe20@infradead.org/
Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
Reviewed-by: Daniel Thompson (RISCstar) <danielt@kernel.org>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://patch.msgid.link/20250729-expresswire-dep-fix-v1-2-635cd4cc746b@dujemihanovic.xyz
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/video/backlight/Kconfig

index d9374d208ceebbf8b3c27976e9cb4d725939b942..37341474beb9982f7099711e5e2506081061df46 100644 (file)
@@ -185,6 +185,7 @@ config BACKLIGHT_KTD253
 
 config BACKLIGHT_KTD2801
        tristate "Backlight Driver for Kinetic KTD2801"
+       depends on GPIOLIB || COMPILE_TEST
        select LEDS_EXPRESSWIRE
        help
          Say Y to enable the backlight driver for the Kinetic KTD2801 1-wire