makes ledtrignetdev work on .26 and fix whitespaces
[openwrt-10.03/.git] / target / linux / generic-2.6 / patches-2.6.26 / 402-ledtrig_netdev.patch
1 Index: linux-2.6.26/drivers/leds/Kconfig
2 ===================================================================
3 --- linux-2.6.26.orig/drivers/leds/Kconfig      2008-08-04 15:03:44.000000000 +0200
4 +++ linux-2.6.26/drivers/leds/Kconfig   2008-08-04 15:04:18.000000000 +0200
5 @@ -200,4 +200,11 @@
6         tristate "LED Morse Trigger"
7         depends on LEDS_TRIGGERS
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.26/drivers/leds/Makefile
18 ===================================================================
19 --- linux-2.6.26.orig/drivers/leds/Makefile     2008-08-04 15:03:40.000000000 +0200
20 +++ linux-2.6.26/drivers/leds/Makefile  2008-08-04 15:04:29.000000000 +0200
21 @@ -29,3 +29,4 @@
22  obj-$(CONFIG_LEDS_TRIGGER_HEARTBEAT)   += ledtrig-heartbeat.o
23  obj-$(CONFIG_LEDS_TRIGGER_DEFAULT_ON)  += ledtrig-default-on.o
24  obj-$(CONFIG_LEDS_TRIGGER_MORSE)       += ledtrig-morse.o
25 +obj-$(CONFIG_LEDS_TRIGGER_NETDEV)      += ledtrig-netdev.o