X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/6740bf6a0f6682fb62ce567cc4f596073160b7be..5803cbb537690276baf7c6dd70323ea483cb8ca3:/target/linux/generic-2.6/patches-2.6.33/402-ledtrig_netdev.patch 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 22660c547..be1e0cbd7 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. @@ -14,7 +14,7 @@ endif # NEW_LEDS --- a/drivers/leds/Makefile +++ b/drivers/leds/Makefile -@@ -45,3 +45,4 @@ obj-$(CONFIG_LEDS_TRIGGER_BACKLIGHT) += +@@ -45,3 +45,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