generic: move ledbar driver from mediatek target

This moves the ledbar driver to generic, to be also used by the ramips target.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
(cherry picked from commit 53fc987b25)
This commit is contained in:
Sven Wegener 2022-05-02 22:13:14 +02:00 committed by Daniel Golle
parent 420a86436f
commit 2419546cee
3 changed files with 4 additions and 3 deletions

View File

@ -3034,6 +3034,7 @@ CONFIG_LEDS_TRIGGER_NETDEV=y
CONFIG_LEDS_TRIGGER_TIMER=y CONFIG_LEDS_TRIGGER_TIMER=y
# CONFIG_LEDS_TRIGGER_TRANSIENT is not set # CONFIG_LEDS_TRIGGER_TRANSIENT is not set
# CONFIG_LEDS_TURRIS_OMNIA is not set # CONFIG_LEDS_TURRIS_OMNIA is not set
# CONFIG_LEDS_UBNT_LEDBAR is not set
# CONFIG_LEDS_USER is not set # CONFIG_LEDS_USER is not set
# CONFIG_LED_TRIGGER_PHY is not set # CONFIG_LED_TRIGGER_PHY is not set
# CONFIG_LEGACY_PTYS is not set # CONFIG_LEGACY_PTYS is not set

View File

@ -1,8 +1,8 @@
--- a/drivers/leds/Kconfig --- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig
@@ -931,6 +931,16 @@ config LEDS_ACER_A500 @@ -929,6 +929,16 @@ config LEDS_ACER_A500
This option enables support for the Power Button LED of
source "drivers/leds/blink/Kconfig" Acer Iconia Tab A500.
+config LEDS_UBNT_LEDBAR +config LEDS_UBNT_LEDBAR
+ tristate "LED support for Ubiquiti UniFi 6 LR" + tristate "LED support for Ubiquiti UniFi 6 LR"