ar71xx: add driver for the USB LED on the WNDR3700
[openwrt-10.03/.git] / target / linux / ar71xx / patches-2.6.31 / 205-wndr3700-usb-led-driver.patch
1 --- a/drivers/leds/Kconfig
2 +++ b/drivers/leds/Kconfig
3 @@ -229,6 +229,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 @@ -28,6 +28,7 @@ obj-$(CONFIG_LEDS_PCA955X)            += leds-pca9
20  obj-$(CONFIG_LEDS_DA903X)              += leds-da903x.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