kernel: move ubnt ledbar driver to a separate package

Simplifies the tree by removing a non-upstream kernel patch and related kconfig
symbols

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau
2022-09-30 11:26:47 +02:00
parent a0a4cfd83b
commit 4363faef8a
13 changed files with 45 additions and 87 deletions

View File

@@ -39,18 +39,4 @@ endef
$(eval $(call KernelPackage,sdhci-mtk))
define KernelPackage/leds-ubnt-ledbar
SUBMENU:=LED modules
TITLE:=Ubiquiti UniFi 6 LR LED support
KCONFIG:=CONFIG_LEDS_UBNT_LEDBAR
FILES:= \
$(LINUX_DIR)/drivers/leds/leds-ubnt-ledbar.ko
AUTOLOAD:=$(call AutoProbe,leds-ubnt-ledbar,1)
DEPENDS:=@TARGET_mediatek_mt7622 +kmod-i2c-core
endef
define KernelPackage/leds-ubnt-ledbar/description
LED support for Ubiquiti UniFi 6 LR
endef
$(eval $(call KernelPackage,leds-ubnt-ledbar))