diff options
author | Sven Wegener <sven.wegener@stealer.net> | 2022-05-02 22:13:14 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2022-09-18 15:39:41 +0100 |
commit | 2419546ceee96b6c1af335aa20606983416b5afa (patch) | |
tree | 2ce85eb84fcf2ff96eab424a9bdb3b1c2b6c0e01 /target | |
parent | 420a86436f6cfc3d53c4c503bc65e988ba8dc086 (diff) | |
download | upstream-2419546ceee96b6c1af335aa20606983416b5afa.tar.gz upstream-2419546ceee96b6c1af335aa20606983416b5afa.tar.bz2 upstream-2419546ceee96b6c1af335aa20606983416b5afa.zip |
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 53fc987b25524c28525313347f0e2e5653dce43c)
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/generic/config-5.10 | 1 | ||||
-rw-r--r-- | target/linux/generic/files/drivers/leds/leds-ubnt-ledbar.c (renamed from target/linux/mediatek/files-5.10/drivers/leds/leds-ubnt-ledbar.c) | 0 | ||||
-rw-r--r-- | target/linux/generic/hack-5.10/800-ubnt-ledbar-driver.patch (renamed from target/linux/mediatek/patches-5.10/800-ubnt-ledbar-driver.patch) | 6 |
3 files changed, 4 insertions, 3 deletions
diff --git a/target/linux/generic/config-5.10 b/target/linux/generic/config-5.10 index 4f05490320..6fa7394201 100644 --- a/target/linux/generic/config-5.10 +++ b/target/linux/generic/config-5.10 @@ -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 diff --git a/target/linux/mediatek/files-5.10/drivers/leds/leds-ubnt-ledbar.c b/target/linux/generic/files/drivers/leds/leds-ubnt-ledbar.c index 555340c5e8..555340c5e8 100644 --- a/target/linux/mediatek/files-5.10/drivers/leds/leds-ubnt-ledbar.c +++ b/target/linux/generic/files/drivers/leds/leds-ubnt-ledbar.c diff --git a/target/linux/mediatek/patches-5.10/800-ubnt-ledbar-driver.patch b/target/linux/generic/hack-5.10/800-ubnt-ledbar-driver.patch index 2b4baab456..92264eedf9 100644 --- a/target/linux/mediatek/patches-5.10/800-ubnt-ledbar-driver.patch +++ b/target/linux/generic/hack-5.10/800-ubnt-ledbar-driver.patch @@ -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" |