uclient: update to Git HEAD (2024-04-18)
[openwrt/openwrt.git] / target / linux / generic / patches-4.4 / 831-ledtrig_netdev.patch
1 --- a/drivers/leds/trigger/Kconfig
2 +++ b/drivers/leds/trigger/Kconfig
3 @@ -108,4 +108,11 @@ config LEDS_TRIGGER_CAMERA
4 This enables direct flash/torch on/off by the driver, kernel space.
5 If unsure, say Y.
6
7 +config LEDS_TRIGGER_NETDEV
8 + tristate "LED Netdev Trigger"
9 + depends on NET && LEDS_TRIGGERS
10 + help
11 + This allows LEDs to be controlled by network device activity.
12 + If unsure, say Y.
13 +
14 endif # LEDS_TRIGGERS
15 --- a/drivers/leds/Makefile
16 +++ b/drivers/leds/Makefile
17 @@ -72,3 +72,4 @@ obj-$(CONFIG_LEDS_DAC124S085) += leds-d
18
19 # LED Triggers
20 obj-$(CONFIG_LEDS_TRIGGERS) += trigger/
21 +obj-$(CONFIG_LEDS_TRIGGER_NETDEV) += ledtrig-netdev.o