18280ed85e4d48740d242fc6674495ade5914cf3
[openwrt.git] / target / linux / adm5120 / patches-2.6.25 / 009-adm5120_leds_switch_trigger.patch
1 --- a/drivers/leds/Kconfig
2 +++ b/drivers/leds/Kconfig
3 @@ -213,4 +213,12 @@
4 This allows LEDs to be initialised in the ON state.
5 If unsure, say Y.
6
7 +config LEDS_TRIGGER_ADM5120_SWITCH
8 + tristate "LED ADM5120 Switch Port Status Trigger"
9 + depends on LEDS_TRIGGERS && LEDS_ADM5120
10 + help
11 + This allows LEDs to be controlled by the port states of
12 + the ADM5120 built-in Ethernet Switch
13 + If unsure, say N.
14 +
15 endif # NEW_LEDS
16 --- a/drivers/leds/Makefile
17 +++ b/drivers/leds/Makefile
18 @@ -30,3 +30,4 @@
19 obj-$(CONFIG_LEDS_TRIGGER_HEARTBEAT) += ledtrig-heartbeat.o
20 obj-$(CONFIG_LEDS_TRIGGER_MORSE) += ledtrig-morse.o
21 obj-$(CONFIG_LEDS_TRIGGER_DEFAULT_ON) += ledtrig-default-on.o
22 +obj-$(CONFIG_LEDS_TRIGGER_ADM5120_SWITCH) += ledtrig-adm5120-switch.o
This page took 0.050445 seconds and 3 git commands to generate.