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