1 --- a/drivers/leds/trigger/Kconfig
2 +++ b/drivers/leds/trigger/Kconfig
3 @@ -112,4 +112,11 @@ config LEDS_TRIGGER_MORSE
4 tristate "LED Morse Trigger"
5 depends on LEDS_TRIGGERS
7 +config LEDS_TRIGGER_NETDEV
8 + tristate "LED Netdev Trigger"
9 + depends on NET && LEDS_TRIGGERS
11 + This allows LEDs to be controlled by network device activity.
15 --- a/drivers/leds/Makefile
16 +++ b/drivers/leds/Makefile
17 @@ -63,3 +63,4 @@ obj-$(CONFIG_LEDS_DAC124S085) += leds-d
19 obj-$(CONFIG_LEDS_TRIGGERS) += trigger/
20 obj-$(CONFIG_LEDS_TRIGGER_MORSE) += ledtrig-morse.o
21 +obj-$(CONFIG_LEDS_TRIGGER_NETDEV) += ledtrig-netdev.o