mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 09:36:22 +02:00
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: 3daf2c4ef82b ("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>
This commit is contained in:
parent
c19fe864f6
commit
9ba15b2eb8
|
|
@ -56,6 +56,7 @@ config LEDS_LP5860_CORE
|
|||
config LEDS_LP5860_SPI
|
||||
tristate "LED Support for TI LP5860 SPI LED driver chip"
|
||||
depends on SPI
|
||||
depends on OF
|
||||
select LEDS_LP5860_CORE
|
||||
help
|
||||
If you say yes here you get support for the Texas Instruments
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user