]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
leds: Fix CONFIG_OF dependency for LEDS_LP5860_CORE
authorArnd Bergmann <arnd@arndb.de>
Tue, 26 May 2026 10:37:32 +0000 (12:37 +0200)
committerLee Jones <lee@kernel.org>
Wed, 17 Jun 2026 10:30:11 +0000 (11:30 +0100)
commit9ba15b2eb87ec33a9037343785e44594df4a59fc
treece9f32553dee76e25e0720bcdd56690ad5712bec
parentc19fe864f667afc49d1391d764e20b66555bcf7a
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>
drivers/leds/rgb/Kconfig