add proper 2.6.25 support
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.25 / 402-ledtrig_default_on.patch
1 diff -ur linux-2.6.23.1.orig/drivers/leds/Kconfig linux-2.6.23.1/drivers/leds/Kconfig
2 --- linux-2.6.23.1.orig/drivers/leds/Kconfig    2007-12-01 00:41:03.000000000 +1300
3 +++ linux-2.6.23.1/drivers/leds/Kconfig 2007-12-01 01:26:43.000000000 +1300
4 @@ -137,4 +137,11 @@
5         tristate "LED Morse Trigger"
6         depends on LEDS_TRIGGERS
7  
8 +config LEDS_TRIGGER_DEFAULT_ON
9 +       tristate "LED Default ON Trigger"
10 +       depends on LEDS_TRIGGERS
11 +       help
12 +         This allows LEDs to be initialised in the ON state.
13 +         If unsure, say Y.
14 +
15  endif # NEW_LEDS
16 diff -ur linux-2.6.23.1.orig/drivers/leds/Makefile linux-2.6.23.1/drivers/leds/Makefile
17 --- linux-2.6.23.1.orig/drivers/leds/Makefile   2007-12-01 00:41:03.000000000 +1300
18 +++ linux-2.6.23.1/drivers/leds/Makefile        2007-12-01 01:27:12.000000000 +1300
19 @@ -23,3 +23,4 @@
20  obj-$(CONFIG_LEDS_TRIGGER_IDE_DISK)    += ledtrig-ide-disk.o
21  obj-$(CONFIG_LEDS_TRIGGER_HEARTBEAT)   += ledtrig-heartbeat.o
22  obj-$(CONFIG_LEDS_TRIGGER_MORSE)       += ledtrig-morse.o
23 +obj-$(CONFIG_LEDS_TRIGGER_DEFAULT_ON)  += ledtrig-default-on.o