15f9582dd6a13047ef37f66bc1c0473b919ccd8b
[openwrt.git] / target / linux / adm5120 / patches-2.6.25 / 009-adm5120_leds_switch_trigger.patch
1 Index: linux-2.6.25.4/drivers/leds/Kconfig
2 ===================================================================
3 --- linux-2.6.25.4.orig/drivers/leds/Kconfig
4 +++ linux-2.6.25.4/drivers/leds/Kconfig
5 @@ -213,4 +213,12 @@ config LEDS_TRIGGER_DEFAULT_ON
6 This allows LEDs to be initialised in the ON state.
7 If unsure, say Y.
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.25.4/drivers/leds/Makefile
19 ===================================================================
20 --- linux-2.6.25.4.orig/drivers/leds/Makefile
21 +++ linux-2.6.25.4/drivers/leds/Makefile
22 @@ -30,3 +30,4 @@ obj-$(CONFIG_LEDS_TRIGGER_IDE_DISK) += l
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
26 +obj-$(CONFIG_LEDS_TRIGGER_ADM5120_SWITCH) += ledtrig-adm5120-switch.o
This page took 0.03463 seconds and 3 git commands to generate.