summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2021-02-14 11:50:31 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2021-02-14 11:50:31 -0800
commit28a17338738839494752c5da3e12c889a55219db (patch)
treee4726925112176ebe9c2f0aeac77d688aeb287a3 /drivers
parentab30c7f9c3ca2599f5ab3e4d29ae56453c8668e5 (diff)
parentdbeb02a0bc41b9e9b9c05e460890351efecf1352 (diff)
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
Diffstat (limited to 'drivers')
-rw-r--r--drivers/leds/flash/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/leds/flash/Kconfig b/drivers/leds/flash/Kconfig
index d21d273ef3da..b580b416b9a4 100644
--- a/drivers/leds/flash/Kconfig
+++ b/drivers/leds/flash/Kconfig
@@ -5,6 +5,7 @@ if LEDS_CLASS_FLASH
config LEDS_RT8515
tristate "LED support for Richtek RT8515 flash/torch LED"
depends on GPIOLIB
+ depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
help
This option enables support for the Richtek RT8515 flash
and torch LEDs found on some mobile phones.