From: Florian Fainelli Date: Mon, 14 Jun 2010 19:39:04 +0000 (+0000) Subject: reinstate netdev LED trigger dependency against CONFIG_NET X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b7e3430ba5c8f499cff66a86d2b2b7700b49c1c0;p=openwrt%2Fstaging%2Fluka.git reinstate netdev LED trigger dependency against CONFIG_NET SVN-Revision: 21804 --- 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.