[kernel] refresh generic 2.6.22 patches
[openwrt.git] / target / linux / adm5120 / patches / 006-adm5120_leds.patch
1 Index: linux-2.6.24.2/drivers/leds/Kconfig
2 ===================================================================
3 --- linux-2.6.24.2.orig/drivers/leds/Kconfig
4 +++ linux-2.6.24.2/drivers/leds/Kconfig
5 @@ -18,6 +18,21 @@ config LEDS_CLASS
6
7 comment "LED drivers"
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.24.2/drivers/leds/Makefile
28 ===================================================================
29 --- linux-2.6.24.2.orig/drivers/leds/Makefile
30 +++ linux-2.6.24.2/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_CORGI) += leds-corgi.o
37 obj-$(CONFIG_LEDS_LOCOMO) += leds-locomo.o
38 obj-$(CONFIG_LEDS_SPITZ) += leds-spitz.o
This page took 0.040621 seconds and 5 git commands to generate.