kernel: bump 5.15 to 5.15.148
[openwrt/staging/jow.git] / target / linux / mediatek / patches-5.15 / 950-smartrg-i2c-led-driver.patch
1 ---
2 drivers/leds/Kconfig | 10 ++++++++++
3 drivers/leds/Makefile | 1 +
4 2 files changed, 11 insertions(+)
5
6 --- a/drivers/leds/Kconfig
7 +++ b/drivers/leds/Kconfig
8 @@ -878,6 +878,16 @@ source "drivers/leds/blink/Kconfig"
9 comment "Flash and Torch LED drivers"
10 source "drivers/leds/flash/Kconfig"
11
12 +config LEDS_SMARTRG_LED
13 + tristate "LED support for Adtran SmartRG"
14 + depends on LEDS_CLASS && I2C && OF
15 + help
16 + This option enables support for the Adtran SmartRG platform
17 + system LED driver.
18 +
19 + To compile this driver as a module, choose M here: the module
20 + will be called leds-smartrg-system.
21 +
22 comment "LED Triggers"
23 source "drivers/leds/trigger/Kconfig"
24
25 --- a/drivers/leds/Makefile
26 +++ b/drivers/leds/Makefile
27 @@ -77,6 +77,7 @@ obj-$(CONFIG_LEDS_PWM) += leds-pwm.o
28 obj-$(CONFIG_LEDS_REGULATOR) += leds-regulator.o
29 obj-$(CONFIG_LEDS_S3C24XX) += leds-s3c24xx.o
30 obj-$(CONFIG_LEDS_SC27XX_BLTC) += leds-sc27xx-bltc.o
31 +obj-$(CONFIG_LEDS_SMARTRG_LED) += leds-smartrg-system.o
32 obj-$(CONFIG_LEDS_SUNFIRE) += leds-sunfire.o
33 obj-$(CONFIG_LEDS_SYSCON) += leds-syscon.o
34 obj-$(CONFIG_LEDS_TCA6507) += leds-tca6507.o