From f21f51d858ab97a4784f76481c336613abc127f6 Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Mon, 8 Dec 2008 13:23:09 +0000 Subject: add generic 2.6.28 patches SVN-Revision: 13546 --- .../patches-2.6.28/402-ledtrig_netdev.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 target/linux/generic-2.6/patches-2.6.28/402-ledtrig_netdev.patch (limited to 'target/linux/generic-2.6/patches-2.6.28/402-ledtrig_netdev.patch') diff --git a/target/linux/generic-2.6/patches-2.6.28/402-ledtrig_netdev.patch b/target/linux/generic-2.6/patches-2.6.28/402-ledtrig_netdev.patch new file mode 100644 index 0000000000..06ea4ac201 --- /dev/null +++ b/target/linux/generic-2.6/patches-2.6.28/402-ledtrig_netdev.patch @@ -0,0 +1,21 @@ +--- a/drivers/leds/Kconfig ++++ b/drivers/leds/Kconfig +@@ -227,4 +227,11 @@ config LEDS_TRIGGER_MORSE + tristate "LED Morse Trigger" + depends on LEDS_TRIGGERS + ++config LEDS_TRIGGER_NETDEV ++ tristate "LED Netdev Trigger" ++ depends on LEDS_TRIGGERS ++ help ++ This allows LEDs to be controlled by network device activity. ++ If unsure, say Y. ++ + endif # NEW_LEDS +--- a/drivers/leds/Makefile ++++ b/drivers/leds/Makefile +@@ -32,3 +32,4 @@ obj-$(CONFIG_LEDS_TRIGGER_HEARTBEAT) += + obj-$(CONFIG_LEDS_TRIGGER_BACKLIGHT) += ledtrig-backlight.o + obj-$(CONFIG_LEDS_TRIGGER_DEFAULT_ON) += ledtrig-default-on.o + obj-$(CONFIG_LEDS_TRIGGER_MORSE) += ledtrig-morse.o ++obj-$(CONFIG_LEDS_TRIGGER_NETDEV) += ledtrig-netdev.o -- cgit v1.2.3