Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

leds: ktd2692: Add GPIOLIB dependency

The expresswire module requires gpiolib, so anything selecting it
also needs this dependency:

WARNING: unmet direct dependencies detected for LEDS_EXPRESSWIRE
Depends on [n]: NEW_LEDS [=y] && GPIOLIB [=n]
Selected by [y]:
- LEDS_KTD2692 [=y] && NEW_LEDS [=y] && LEDS_CLASS_FLASH [=y] && OF [=y]

Fixes: e59a15af7aa6 ("leds: ktd2692: Convert to use ExpressWire library")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Link: https://lore.kernel.org/r/20240213165602.2230970-1-arnd@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

Arnd Bergmann and committed by
Lee Jones
d48ece99 7534904d

+1
+1
drivers/leds/flash/Kconfig
··· 23 23 config LEDS_KTD2692 24 24 tristate "LED support for Kinetic KTD2692 flash LED controller" 25 25 depends on OF 26 + depends on GPIOLIB 26 27 select LEDS_EXPRESSWIRE 27 28 help 28 29 This option enables support for Kinetic KTD2692 LED flash connected