Rewrite LED driver, enable PCMCIA modules
[openwrt/svn-archive/archive.git] / target / linux / rdc-2.6 / patches / 004-rdc3211_leds.patch
1 diff -urN linux-2.6.19.2/drivers/leds/Kconfig linux-2.6.19.2.new/drivers/leds/Kconfig
2 --- linux-2.6.19.2/drivers/leds/Kconfig 2007-01-10 20:10:37.000000000 +0100
3 +++ linux-2.6.19.2.new/drivers/leds/Kconfig 2007-04-16 22:09:40.000000000 +0200
4 @@ -76,6 +76,12 @@
5 This option enables support for the Soekris net4801 and net4826 error
6 LED.
7
8 +config LEDS_RDC3211
9 + tristate "LED Support for RDC3211 boards"
10 + depends on LEDS_CLASS && X86_RDC
11 + help
12 + This option enables support for the RDC3211 various LEDs.
13 +
14 comment "LED Triggers"
15
16 config LEDS_TRIGGERS
17 diff -urN linux-2.6.19.2/drivers/leds/Makefile linux-2.6.19.2.new/drivers/leds/Makefile
18 --- linux-2.6.19.2/drivers/leds/Makefile 2007-01-10 20:10:37.000000000 +0100
19 +++ linux-2.6.19.2.new/drivers/leds/Makefile 2007-04-16 22:09:55.000000000 +0200
20 @@ -13,6 +13,7 @@
21 obj-$(CONFIG_LEDS_S3C24XX) += leds-s3c24xx.o
22 obj-$(CONFIG_LEDS_AMS_DELTA) += leds-ams-delta.o
23 obj-$(CONFIG_LEDS_NET48XX) += leds-net48xx.o
24 +obj-$(CONFIG_LEDS_RDC3211) += leds-rdc3211.o
25
26 # LED Triggers
27 obj-$(CONFIG_LEDS_TRIGGER_TIMER) += ledtrig-timer.o