1 --- a/drivers/leds/Kconfig
2 +++ b/drivers/leds/Kconfig
3 @@ -306,4 +306,12 @@ config LEDS_TRIGGER_NETDEV
4 This allows LEDs to be controlled by network device activity.
7 +config LEDS_TRIGGER_ADM5120_SWITCH
8 + tristate "LED ADM5120 Switch Port Status Trigger"
9 + depends on LEDS_TRIGGERS && ADM5120
11 + This allows LEDs to be controlled by the port states of
12 + the ADM5120 built-in Ethernet Switch
16 --- a/drivers/leds/Makefile
17 +++ b/drivers/leds/Makefile
18 @@ -40,3 +40,4 @@ obj-$(CONFIG_LEDS_TRIGGER_GPIO) += ledt
19 obj-$(CONFIG_LEDS_TRIGGER_DEFAULT_ON) += ledtrig-default-on.o
20 obj-$(CONFIG_LEDS_TRIGGER_MORSE) += ledtrig-morse.o
21 obj-$(CONFIG_LEDS_TRIGGER_NETDEV) += ledtrig-netdev.o
22 +obj-$(CONFIG_LEDS_TRIGGER_ADM5120_SWITCH) += ledtrig-adm5120-switch.o