summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-06-14 19:39:04 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-06-14 19:39:04 +0000
commitc69b252f1c3b9a8a183d9ae7c16f636e14d99400 (patch)
treefd0a52f5d54c6a25ec1589c14b71b9307340478f
parent4613d8680684a15dbe9ca30f5fb69e0c55f1de2d (diff)
[kernel] reinstate netdev LED trigger dependency against CONFIG_NET
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21804 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/generic-2.6/patches-2.6.32/402-ledtrig_netdev.patch4
-rw-r--r--target/linux/generic-2.6/patches-2.6.33/402-ledtrig_netdev.patch2
-rw-r--r--target/linux/generic-2.6/patches-2.6.34/402-ledtrig_netdev.patch2
-rw-r--r--target/linux/generic-2.6/patches-2.6.35/402-ledtrig_netdev.patch2
4 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.32/402-ledtrig_netdev.patch b/target/linux/generic-2.6/patches-2.6.32/402-ledtrig_netdev.patch
index d6f7353dc1..11a9c9b1ea 100644
--- a/target/linux/generic-2.6/patches-2.6.32/402-ledtrig_netdev.patch
+++ b/target/linux/generic-2.6/patches-2.6.32/402-ledtrig_netdev.patch
@@ -6,7 +6,7 @@
+config LEDS_TRIGGER_NETDEV
+ tristate "LED Netdev Trigger"
-+ depends on LEDS_TRIGGERS
++ depends on NET && LEDS_TRIGGERS
+ help
+ This allows LEDs to be controlled by network device activity.
+ If unsure, say Y.
@@ -14,7 +14,7 @@
endif # NEW_LEDS
--- a/drivers/leds/Makefile
+++ b/drivers/leds/Makefile
-@@ -41,3 +41,4 @@ obj-$(CONFIG_LEDS_TRIGGER_BACKLIGHT) +=
+@@ -41,3 +41,4 @@ obj-$(CONFIG_LEDS_TRIGGER_BACKLIGHT) +=
obj-$(CONFIG_LEDS_TRIGGER_GPIO) += ledtrig-gpio.o
obj-$(CONFIG_LEDS_TRIGGER_DEFAULT_ON) += ledtrig-default-on.o
obj-$(CONFIG_LEDS_TRIGGER_MORSE) += ledtrig-morse.o
diff --git a/target/linux/generic-2.6/patches-2.6.33/402-ledtrig_netdev.patch b/target/linux/generic-2.6/patches-2.6.33/402-ledtrig_netdev.patch
index d4ac25edec..be1e0cbd7a 100644
--- a/target/linux/generic-2.6/patches-2.6.33/402-ledtrig_netdev.patch
+++ b/target/linux/generic-2.6/patches-2.6.33/402-ledtrig_netdev.patch
@@ -6,7 +6,7 @@
+config LEDS_TRIGGER_NETDEV
+ tristate "LED Netdev Trigger"
-+ depends on LEDS_TRIGGERS
++ depends on NET && LEDS_TRIGGERS
+ help
+ This allows LEDs to be controlled by network device activity.
+ If unsure, say Y.
diff --git a/target/linux/generic-2.6/patches-2.6.34/402-ledtrig_netdev.patch b/target/linux/generic-2.6/patches-2.6.34/402-ledtrig_netdev.patch
index da66e54a88..858966c908 100644
--- a/target/linux/generic-2.6/patches-2.6.34/402-ledtrig_netdev.patch
+++ b/target/linux/generic-2.6/patches-2.6.34/402-ledtrig_netdev.patch
@@ -6,7 +6,7 @@
+config LEDS_TRIGGER_NETDEV
+ tristate "LED Netdev Trigger"
-+ depends on LEDS_TRIGGERS
++ depends on NET && LEDS_TRIGGERS
+ help
+ This allows LEDs to be controlled by network device activity.
+ If unsure, say Y.
diff --git a/target/linux/generic-2.6/patches-2.6.35/402-ledtrig_netdev.patch b/target/linux/generic-2.6/patches-2.6.35/402-ledtrig_netdev.patch
index da66e54a88..858966c908 100644
--- a/target/linux/generic-2.6/patches-2.6.35/402-ledtrig_netdev.patch
+++ b/target/linux/generic-2.6/patches-2.6.35/402-ledtrig_netdev.patch
@@ -6,7 +6,7 @@
+config LEDS_TRIGGER_NETDEV
+ tristate "LED Netdev Trigger"
-+ depends on LEDS_TRIGGERS
++ depends on NET && LEDS_TRIGGERS
+ help
+ This allows LEDs to be controlled by network device activity.
+ If unsure, say Y.