Skip to content

Commit 9ba15b2

Browse files
arndblag-linaro
authored andcommitted
leds: Fix CONFIG_OF dependency for LEDS_LP5860_CORE
Building LEDS_LP5860_SPI without CONFIG_OF leads to a build time warning: WARNING: unmet direct dependencies detected for LEDS_LP5860_CORE Depends on [n]: NEW_LEDS [=y] && LEDS_CLASS_MULTICOLOR [=y] && LEDS_CLASS [=y] && OF [=n] Selected by [y]: - LEDS_LP5860_SPI [=y] && NEW_LEDS [=y] && LEDS_CLASS_MULTICOLOR [=y] && SPI [=y] Address this by adding the same dependency here as well. Fixes: 3daf2c4 ("leds: Add support for TI LP5860 LED driver chip") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://patch.msgid.link/20260526103738.3389272-1-arnd@kernel.org Signed-off-by: Lee Jones <lee@kernel.org>
1 parent c19fe86 commit 9ba15b2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/leds/rgb/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ config LEDS_LP5860_CORE
5656
config LEDS_LP5860_SPI
5757
tristate "LED Support for TI LP5860 SPI LED driver chip"
5858
depends on SPI
59+
depends on OF
5960
select LEDS_LP5860_CORE
6061
help
6162
If you say yes here you get support for the Texas Instruments

0 commit comments

Comments
 (0)