leds: ktd2692: Add GPIOLIB dependency
authorArnd Bergmann <arnd@arndb.de>
Tue, 13 Feb 2024 16:55:50 +0000 (17:55 +0100)
committerLee Jones <lee@kernel.org>
Thu, 7 Mar 2024 08:45:24 +0000 (08:45 +0000)
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>
drivers/leds/flash/Kconfig

index a0fb755b58dcc5037b5d08b83ca4698e207dca6a..24722d581369969eb96e9f354733ffa4d9d0dfbf 100644 (file)
@@ -23,6 +23,7 @@ config LEDS_AS3645A
 config LEDS_KTD2692
        tristate "LED support for Kinetic KTD2692 flash LED controller"
        depends on OF
+       depends on GPIOLIB
        select LEDS_EXPRESSWIRE
        help
          This option enables support for Kinetic KTD2692 LED flash connected