Browse Source

reinstate netdev LED trigger dependency against CONFIG_NET

SVN-Revision: 21804
Florian Fainelli 15 years ago
parent
commit
b7e3430ba5

+ 2 - 2
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

+ 1 - 1
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.

+ 1 - 1
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.

+ 1 - 1
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.