]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
generic: move ledbar driver from mediatek target
authorSven Wegener <sven.wegener@stealer.net>
Mon, 2 May 2022 20:13:14 +0000 (22:13 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 18 Sep 2022 14:39:41 +0000 (15:39 +0100)
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 53fc987b25524c28525313347f0e2e5653dce43c)

target/linux/generic/config-5.10
target/linux/generic/files/drivers/leds/leds-ubnt-ledbar.c [moved from target/linux/mediatek/files-5.10/drivers/leds/leds-ubnt-ledbar.c with 100% similarity]
target/linux/generic/hack-5.10/800-ubnt-ledbar-driver.patch [moved from target/linux/mediatek/patches-5.10/800-ubnt-ledbar-driver.patch with 86% similarity]

index 4f054903203b28ffb67d43ceb2e401b1d8e47234..6fa7394201375a44bc630db570e869e9b6d28743 100644 (file)
@@ -3034,6 +3034,7 @@ CONFIG_LEDS_TRIGGER_NETDEV=y
 CONFIG_LEDS_TRIGGER_TIMER=y
 # CONFIG_LEDS_TRIGGER_TRANSIENT is not set
 # CONFIG_LEDS_TURRIS_OMNIA is not set
+# CONFIG_LEDS_UBNT_LEDBAR is not set
 # CONFIG_LEDS_USER is not set
 # CONFIG_LED_TRIGGER_PHY is not set
 # CONFIG_LEGACY_PTYS is not set
similarity index 86%
rename from target/linux/mediatek/patches-5.10/800-ubnt-ledbar-driver.patch
rename to target/linux/generic/hack-5.10/800-ubnt-ledbar-driver.patch
index 2b4baab456a0002ac9718fb0c9b5d4ca6ca3ac9d..92264eedf9cc4b32ce2ffb480f2fa628761d2245 100644 (file)
@@ -1,8 +1,8 @@
 --- a/drivers/leds/Kconfig
 +++ b/drivers/leds/Kconfig
-@@ -931,6 +931,16 @@ config LEDS_ACER_A500
- source "drivers/leds/blink/Kconfig"
+@@ -929,6 +929,16 @@ config LEDS_ACER_A500
+         This option enables support for the Power Button LED of
+         Acer Iconia Tab A500.
  
 +config LEDS_UBNT_LEDBAR
 +      tristate "LED support for Ubiquiti UniFi 6 LR"