562388d1044643578c14ce1e2111c6a3e92b0f30
[openwrt/staging/wigyori.git] / target / linux / ar71xx / patches-4.1 / 818-MIPS-ath79-add-nu801-led-driver.patch
1 --- a/drivers/leds/Kconfig
2 +++ b/drivers/leds/Kconfig
3 @@ -500,6 +500,13 @@ config LEDS_MENF21BMC
4
5 comment "LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM)"
6
7 +config LEDS_NU801
8 + tristate "LED driver for NU801 RGB LED"
9 + depends on LEDS_CLASS && ATH79_MACH_MR18
10 + help
11 + This option enables support for NU801 RGB LED driver chips
12 + accessed via GPIO.
13 +
14 config LEDS_BLINKM
15 tristate "LED support for the BlinkM I2C RGB LED"
16 depends on LEDS_CLASS
17 --- a/drivers/leds/Makefile
18 +++ b/drivers/leds/Makefile
19 @@ -51,6 +51,7 @@ obj-$(CONFIG_LEDS_ADP5520) += leds-adp5
20 obj-$(CONFIG_LEDS_DELL_NETBOOKS) += dell-led.o
21 obj-$(CONFIG_LEDS_MC13783) += leds-mc13783.o
22 obj-$(CONFIG_LEDS_RB750) += leds-rb750.o
23 +obj-$(CONFIG_LEDS_NU801) += leds-nu801.o
24 obj-$(CONFIG_LEDS_NS2) += leds-ns2.o
25 obj-$(CONFIG_LEDS_NETXBIG) += leds-netxbig.o
26 obj-$(CONFIG_LEDS_ASIC3) += leds-asic3.o