summaryrefslogtreecommitdiffstats
path: root/drivers/leds/flash/Kconfig
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2021-05-28 22:23:59 +0200
committerPavel Machek <pavel@ucw.cz>2021-07-12 10:30:04 +0200
commit293fee7f607841cc128c3f6df9b464e8abf99fb0 (patch)
tree612ce59a2236997f36a61a3b1963bb180129ba2a /drivers/leds/flash/Kconfig
parentLinux 5.14-rc1 (diff)
downloadlinux-293fee7f607841cc128c3f6df9b464e8abf99fb0.tar.xz
linux-293fee7f607841cc128c3f6df9b464e8abf99fb0.zip
leds: aat1290: Move driver to flash subdirectory
We created a subdirectory for LED drivers that depend on CONFIG_LEDS_CLASS_FLASH, and this driver does so let's move it there. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Jacek Anaszewski <jacek.anaszewski@gmail.com> Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/leds/flash/Kconfig')
-rw-r--r--drivers/leds/flash/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/leds/flash/Kconfig b/drivers/leds/flash/Kconfig
index 3f49f3edbffb..736153b0bfd6 100644
--- a/drivers/leds/flash/Kconfig
+++ b/drivers/leds/flash/Kconfig
@@ -2,6 +2,15 @@
if LEDS_CLASS_FLASH
+config LEDS_AAT1290
+ tristate "LED support for the AAT1290"
+ depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
+ depends on GPIOLIB || COMPILE_TEST
+ depends on OF
+ depends on PINCTRL
+ help
+ This option enables support for the LEDs on the AAT1290.
+
config LEDS_RT4505
tristate "LED support for RT4505 flashlight controller"
depends on I2C && OF