add Avila/Cambria latch LED support, thanks Chris
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.24 / 402-ledtrig_default_on.patch
1 Index: linux-2.6.24.7/drivers/leds/Kconfig
2 ===================================================================
3 --- linux-2.6.24.7.orig/drivers/leds/Kconfig
4 +++ linux-2.6.24.7/drivers/leds/Kconfig
5 @@ -156,4 +156,11 @@ config LEDS_TRIGGER_MORSE
6 tristate "LED Morse Trigger"
7 depends on LEDS_TRIGGERS
8
9 +config LEDS_TRIGGER_DEFAULT_ON
10 + tristate "LED Default ON Trigger"
11 + depends on LEDS_TRIGGERS
12 + help
13 + This allows LEDs to be initialised in the ON state.
14 + If unsure, say Y.
15 +
16 endif # NEW_LEDS
17 Index: linux-2.6.24.7/drivers/leds/Makefile
18 ===================================================================
19 --- linux-2.6.24.7.orig/drivers/leds/Makefile
20 +++ linux-2.6.24.7/drivers/leds/Makefile
21 @@ -26,3 +26,4 @@ obj-$(CONFIG_LEDS_TRIGGER_TIMER) += ledt
22 obj-$(CONFIG_LEDS_TRIGGER_IDE_DISK) += ledtrig-ide-disk.o
23 obj-$(CONFIG_LEDS_TRIGGER_HEARTBEAT) += ledtrig-heartbeat.o
24 obj-$(CONFIG_LEDS_TRIGGER_MORSE) += ledtrig-morse.o
25 +obj-$(CONFIG_LEDS_TRIGGER_DEFAULT_ON) += ledtrig-default-on.o
This page took 0.044842 seconds and 5 git commands to generate.