013391e1d9fcb7717047613e016077165b5fbafd
[openwrt/openwrt.git] / target / linux / mediatek / patches-5.10 / 800-ubnt-ledbar-driver.patch
1 --- a/drivers/leds/Kconfig
2 +++ b/drivers/leds/Kconfig
3 @@ -928,6 +928,16 @@ config LEDS_ACER_A500
4 This option enables support for the Power Button LED of
5 Acer Iconia Tab A500.
6
7 +config LEDS_UBNT_LEDBAR
8 + tristate "LED support for Ubiquiti UniFi 6 LR"
9 + depends on LEDS_CLASS && I2C && OF
10 + help
11 + This option enables support for the Ubiquiti LEDBAR
12 + LED driver.
13 +
14 + To compile this driver as a module, choose M here: the module
15 + will be called leds-ubnt-ledbar.
16 +
17 comment "LED Triggers"
18 source "drivers/leds/trigger/Kconfig"
19
20 --- a/drivers/leds/Makefile
21 +++ b/drivers/leds/Makefile
22 @@ -93,6 +93,7 @@ obj-$(CONFIG_LEDS_TURRIS_OMNIA) += leds
23 obj-$(CONFIG_LEDS_WM831X_STATUS) += leds-wm831x-status.o
24 obj-$(CONFIG_LEDS_WM8350) += leds-wm8350.o
25 obj-$(CONFIG_LEDS_WRAP) += leds-wrap.o
26 +obj-$(CONFIG_LEDS_UBNT_LEDBAR) += leds-ubnt-ledbar.o
27
28 # LED SPI Drivers
29 obj-$(CONFIG_LEDS_CR0014114) += leds-cr0014114.o