Root/target/linux/ar71xx/patches-2.6.32/205-wndr3700-usb-led-driver.patch

1--- a/drivers/leds/Kconfig
2+++ b/drivers/leds/Kconfig
3@@ -236,6 +236,13 @@ config LEDS_BD2802
4       This option enables support for BD2802GU RGB LED driver chips
5       accessed via the I2C bus.
6 
7+config LEDS_WNDR3700_USB
8+ tristate "NETGEAR WNDR3700 USB LED driver"
9+ depends on LEDS_CLASS && AR71XX_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 
16 config LEDS_TRIGGERS
17--- a/drivers/leds/Makefile
18+++ b/drivers/leds/Makefile
19@@ -29,6 +29,7 @@ obj-$(CONFIG_LEDS_DA903X) += leds-da903
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 
25 # LED SPI Drivers
26 obj-$(CONFIG_LEDS_DAC124S085) += leds-dac124s085.o
27

Archive Download this file



interactive