add a gpio feature for devices supporting the generic GPIO interface
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.23 / 403-ledtrig_netdev.patch
1 Index: linux-2.6.23.16/drivers/leds/Kconfig
2 ===================================================================
3 --- linux-2.6.23.16.orig/drivers/leds/Kconfig 2008-03-07 21:26:46.000000000 +0100
4 +++ linux-2.6.23.16/drivers/leds/Kconfig 2008-03-07 21:27:50.000000000 +0100
5 @@ -150,4 +150,11 @@
6 This allows LEDs to be initialised in the ON state.
7 If unsure, say Y.
8
9 +config LEDS_TRIGGER_NETDEV
10 + tristate "LED Netdev Trigger"
11 + depends on LEDS_TRIGGERS
12 + help
13 + This allows LEDs to be controlled by network device activity.
14 + If unsure, say Y.
15 +
16 endif # NEW_LEDS
17 Index: linux-2.6.23.16/drivers/leds/Makefile
18 ===================================================================
19 --- linux-2.6.23.16.orig/drivers/leds/Makefile 2008-03-07 21:28:01.000000000 +0100
20 +++ linux-2.6.23.16/drivers/leds/Makefile 2008-03-07 21:36:07.000000000 +0100
21 @@ -25,3 +25,4 @@
22 obj-$(CONFIG_LEDS_TRIGGER_HEARTBEAT) += ledtrig-heartbeat.o
23 obj-$(CONFIG_LEDS_TRIGGER_MORSE) += ledtrig-morse.o
24 obj-$(CONFIG_LEDS_TRIGGER_DEFAULT_ON) += ledtrig-default-on.o
25 +obj-$(CONFIG_LEDS_TRIGGER_NETDEV) += ledtrig-netdev.o
This page took 0.047664 seconds and 5 git commands to generate.