Skip to content

Commit 28a1733

Browse files
committed
Merge branch 'for-rc8-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds
Pull LED fix from Pavel Machek: "One-liner fixing a build problem" * 'for-rc8-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds: leds: rt8515: add V4L2_FLASH_LED_CLASS dependency
2 parents ab30c7f + dbeb02a commit 28a1733

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/leds/flash/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ if LEDS_CLASS_FLASH
55
config LEDS_RT8515
66
tristate "LED support for Richtek RT8515 flash/torch LED"
77
depends on GPIOLIB
8+
depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
89
help
910
This option enables support for the Richtek RT8515 flash
1011
and torch LEDs found on some mobile phones.

0 commit comments

Comments
 (0)