diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2010-12-18 14:36:02 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-12-20 09:57:32 +0100 |
commit | 91d781f51df5d4de23d09a6777bfc968a0a7ca68 (patch) | |
tree | c157c2074ab337ee7512ebf3bd8ac38dfdd7c6a7 /drivers/led/Kconfig | |
parent | 51271530d2f824ee9e1ef01a2eb7f361622716aa (diff) | |
download | barebox-91d781f51df5d4de23d09a6777bfc968a0a7ca68.tar.gz barebox-91d781f51df5d4de23d09a6777bfc968a0a7ca68.tar.xz |
LED: Add gpio LED support
This patch adds support for registering gpios as LEDs.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/led/Kconfig')
-rw-r--r-- | drivers/led/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/led/Kconfig b/drivers/led/Kconfig index 964626cdcd..048a0f456c 100644 --- a/drivers/led/Kconfig +++ b/drivers/led/Kconfig @@ -3,4 +3,12 @@ menuconfig LED if LED +config LED_GPIO + bool "gpio LED support" + depends on GENERIC_GPIO + +config LED_GPIO_RGB + bool "gpio rgb LED support" + depends on LED_GPIO + endif |