Add ar7-2.6 port (marked as broken for now).
[openwrt/svn-archive/archive.git] / target / linux / ar7-2.6 / patches / 130-leds.patch
1 diff -ruN linux-2.6.19.2-orig/drivers/leds/Kconfig linux-2.6.19.2-ar7/drivers/leds/Kconfig
2 --- linux-2.6.19.2-orig/drivers/leds/Kconfig 2007-01-10 20:10:37.000000000 +0100
3 +++ linux-2.6.19.2-ar7/drivers/leds/Kconfig 2007-02-24 02:30:48.000000000 +0100
4 @@ -19,6 +19,12 @@
5
6 comment "LED drivers"
7
8 +config LEDS_AR7
9 + tristate "LED Support for the TI AR7"
10 + depends LEDS_CLASS && AR7
11 + help
12 + This option enables support for the LEDs on TI AR7.
13 +
14 config LEDS_CORGI
15 tristate "LED Support for the Sharp SL-C7x0 series"
16 depends LEDS_CLASS && PXA_SHARP_C7xx
17 diff -ruN linux-2.6.19.2-orig/drivers/leds/Makefile linux-2.6.19.2-ar7/drivers/leds/Makefile
18 --- linux-2.6.19.2-orig/drivers/leds/Makefile 2007-01-10 20:10:37.000000000 +0100
19 +++ linux-2.6.19.2-ar7/drivers/leds/Makefile 2007-02-24 02:29:44.000000000 +0100
20 @@ -5,6 +5,7 @@
21 obj-$(CONFIG_LEDS_TRIGGERS) += led-triggers.o
22
23 # LED Platform Drivers
24 +obj-$(CONFIG_LEDS_AR7) += leds-ar7.o
25 obj-$(CONFIG_LEDS_CORGI) += leds-corgi.o
26 obj-$(CONFIG_LEDS_LOCOMO) += leds-locomo.o
27 obj-$(CONFIG_LEDS_SPITZ) += leds-spitz.o