c971b9b4cafa79f66d9827a6e2f8103cee94bdbe
[openwrt/openwrt.git] / target / linux / mediatek / patches-5.4 / 1021-ubnt-ledbar-driver.patch
1 --- a/drivers/leds/Kconfig
2 +++ b/drivers/leds/Kconfig
3 @@ -823,6 +823,16 @@ config LEDS_LM36274
4 Say Y to enable the LM36274 LED driver for TI LMU devices.
5 This supports the LED device LM36274.
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 @@ -85,6 +85,7 @@ obj-$(CONFIG_LEDS_LM3601X) += leds-lm36
23 obj-$(CONFIG_LEDS_TI_LMU_COMMON) += leds-ti-lmu-common.o
24 obj-$(CONFIG_LEDS_LM3697) += leds-lm3697.o
25 obj-$(CONFIG_LEDS_LM36274) += leds-lm36274.o
26 +obj-$(CONFIG_LEDS_UBNT_LEDBAR) += leds-ubnt-ledbar.o
27
28 # LED SPI Drivers
29 obj-$(CONFIG_LEDS_CR0014114) += leds-cr0014114.o