DG834G Power LED fix
[openwrt.git] / target / linux / adm5120 / patches-2.6.23 / 009-adm5120_leds_switch_trigger.patch
1 Index: linux-2.6.23/drivers/leds/Kconfig
2 ===================================================================
3 --- linux-2.6.23.orig/drivers/leds/Kconfig
4 +++ linux-2.6.23/drivers/leds/Kconfig
5 @@ -152,4 +152,12 @@ config LEDS_TRIGGER_MORSE
6 tristate "LED Morse Trigger"
7 depends on LEDS_TRIGGERS
8
9 +config LEDS_TRIGGER_ADM5120_SWITCH
10 + tristate "LED ADM5120 Switch Port Status Trigger"
11 + depends on LEDS_TRIGGERS && LEDS_ADM5120
12 + help
13 + This allows LEDs to be controlled by the port states of
14 + the ADM5120 built-in Ethernet Switch
15 + If unsure, say N.
16 +
17 endif # NEW_LEDS
18 Index: linux-2.6.23/drivers/leds/Makefile
19 ===================================================================
20 --- linux-2.6.23.orig/drivers/leds/Makefile
21 +++ linux-2.6.23/drivers/leds/Makefile
22 @@ -24,3 +24,4 @@ obj-$(CONFIG_LEDS_TRIGGER_TIMER) += ledt
23 obj-$(CONFIG_LEDS_TRIGGER_IDE_DISK) += ledtrig-ide-disk.o
24 obj-$(CONFIG_LEDS_TRIGGER_HEARTBEAT) += ledtrig-heartbeat.o
25 obj-$(CONFIG_LEDS_TRIGGER_MORSE) += ledtrig-morse.o
26 +obj-$(CONFIG_LEDS_TRIGGER_ADM5120_SWITCH) += ledtrig-adm5120-switch.o
This page took 0.042486 seconds and 5 git commands to generate.