mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-09-16 04:29:28 -05:00
backlight: ktd2801: Fix unmet dependency on GPIOLIB
LEDS_EXPRESSWIRE depends on GPIOLIB, so its selector, BACKLIGHT_KTD2801
also needs to ensure GPIOLIB is enabled. Otherwise:
WARNING: unmet direct dependencies detected for LEDS_EXPRESSWIRE
Depends on [n]: NEW_LEDS [=n] && GPIOLIB [=n]
Selected by [y]:
- BACKLIGHT_KTD2801 [=y] && HAS_IOMEM [=y] && BACKLIGHT_CLASS_DEVICE [=y]
This unmet dependency was found by kconfirm, a static analysis tool for
Kconfig.
Fixes: d95963e309 ("backlight: ktd2801: Depend on GPIOLIB")
Signed-off-by: Julian Braha <julianbraha@gmail.com>
Reviewed-by: Daniel Thompson (RISCstar) <danielt@kernel.org>
Acked-by: Duje Mihanović <duje@dujemihanovic.xyz>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://patch.msgid.link/20260719024902.151710-1-julianbraha@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
This commit is contained in:
@@ -193,7 +193,7 @@ config BACKLIGHT_KTD253
|
||||
|
||||
config BACKLIGHT_KTD2801
|
||||
tristate "Backlight Driver for Kinetic KTD2801"
|
||||
depends on GPIOLIB || COMPILE_TEST
|
||||
depends on GPIOLIB
|
||||
select LEDS_EXPRESSWIRE
|
||||
help
|
||||
Say Y to enable the backlight driver for the Kinetic KTD2801 1-wire
|
||||
|
||||
Reference in New Issue
Block a user