ar71xx: complete support for RB wAP 2nD
[openwrt/openwrt.git] / target / linux / ar71xx / patches-4.9 / 440-leds-wndr3700-usb-led-driver.patch
1 --- a/drivers/leds/Kconfig
2 +++ b/drivers/leds/Kconfig
3 @@ -659,6 +659,13 @@ config LEDS_MLXCPLD
4 This option enabled support for the LEDs on the Mellanox
5 boards. Say Y to enabled these.
6
7 +config LEDS_WNDR3700_USB
8 + tristate "NETGEAR WNDR3700 USB LED driver"
9 + depends on LEDS_CLASS && ATH79_MACH_WNDR3700
10 + help
11 + This option enables support for the USB LED found on the
12 + NETGEAR WNDR3700 board.
13 +
14 comment "LED Triggers"
15 source "drivers/leds/trigger/Kconfig"
16
17 --- a/drivers/leds/Makefile
18 +++ b/drivers/leds/Makefile
19 @@ -48,6 +48,7 @@ obj-$(CONFIG_LEDS_DA9052) += leds-da905
20 obj-$(CONFIG_LEDS_WM831X_STATUS) += leds-wm831x-status.o
21 obj-$(CONFIG_LEDS_WM8350) += leds-wm8350.o
22 obj-$(CONFIG_LEDS_PWM) += leds-pwm.o
23 +obj-${CONFIG_LEDS_WNDR3700_USB} += leds-wndr3700-usb.o
24 obj-$(CONFIG_LEDS_REGULATOR) += leds-regulator.o
25 obj-$(CONFIG_LEDS_INTEL_SS4200) += leds-ss4200.o
26 obj-$(CONFIG_LEDS_LT3593) += leds-lt3593.o