Duplicate of r12143
[openwrt.git] / target / linux / adm5120 / patches / 006-adm5120_leds.patch
1 --- a/drivers/leds/Kconfig
2 +++ b/drivers/leds/Kconfig
3 @@ -25,6 +25,21 @@
4 This option enables support for LEDs driven using outputs
5 of the dedicated PWM controller found on newer Atmel SOCs.
6
7 +config LEDS_ADM5120
8 + tristate "LED Support for ADM5120 GPIO LEDs"
9 + depends on LEDS_GPIO && MIPS_ADM5120
10 + help
11 + This option enables support for LEDs connected to GPIO lines
12 + on ADM5120 SoC based platforms.
13 +
14 +config LEDS_ADM5120_EXPERIMENTAL
15 + bool "Enable ADM5120 LEDs experimental code"
16 + depends on LEDS_ADM5120
17 +
18 +config LEDS_ADM5120_DIAG
19 + bool "Enable ADM5120 LEDs diagnostic mode"
20 + depends on LEDS_ADM5120
21 +
22 config LEDS_CORGI
23 tristate "LED Support for the Sharp SL-C7x0 series"
24 depends on LEDS_CLASS && PXA_SHARP_C7xx
25 --- a/drivers/leds/Makefile
26 +++ b/drivers/leds/Makefile
27 @@ -5,6 +5,7 @@
28 obj-$(CONFIG_LEDS_TRIGGERS) += led-triggers.o
29
30 # LED Platform Drivers
31 +obj-$(CONFIG_LEDS_ADM5120) += leds-adm5120.o
32 obj-$(CONFIG_LEDS_ATMEL_PWM) += leds-atmel-pwm.o
33 obj-$(CONFIG_LEDS_CORGI) += leds-corgi.o
34 obj-$(CONFIG_LEDS_LOCOMO) += leds-locomo.o
This page took 0.058254 seconds and 5 git commands to generate.