[openwrt/openwrt] Revert "kernel: modules: fix led-group-multi-color patch"

LEDE Commits lede-commits at lists.infradead.org
Thu Dec 12 06:44:59 PST 2024


blogic pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/1375a7bae0d5e8dddb6b6cfe0584a399cd6c20b4

commit 1375a7bae0d5e8dddb6b6cfe0584a399cd6c20b4
Author: John Crispin <john at phrozen.org>
AuthorDate: Thu Dec 12 15:43:35 2024 +0100

    Revert "kernel: modules: fix led-group-multi-color patch"
    
    This reverts commit 1cea889c96a8df4e91236e269539b086d519a60a.
    This reverts commit 5fd86d66c15fc4d6f5076f7d07c91e0690d91531.
    
    The patch is causing build servers to fail. Revert it for now.
    
    Signed-off-by: John Crispin <john at phrozen.org>
---
 package/kernel/linux/modules/leds.mk | 20 +-------------------
 1 file changed, 1 insertion(+), 19 deletions(-)

diff --git a/package/kernel/linux/modules/leds.mk b/package/kernel/linux/modules/leds.mk
index 6c619b658e..0c42895bb2 100644
--- a/package/kernel/linux/modules/leds.mk
+++ b/package/kernel/linux/modules/leds.mk
@@ -22,24 +22,6 @@ endef
 
 $(eval $(call KernelPackage,leds-gpio))
 
-define KernelPackage/led-group-multi-color
-  SUBMENU:=$(LEDS_MENU)
-  TITLE:=LEDs group multi-color support
-  KCONFIG:=CONFIG_LEDS_CLASS_MULTICOLOR \
-     CONFIG_LEDS_GROUP_MULTICOLOR
-  FILES:=$(LINUX_DIR)/drivers/leds/rgb/leds-group-multicolor.ko
-  AUTOLOAD:=$(call AutoProbe,led-group-multi-color)
-endef
-
-define KernelPackage/led-group-multi-color/description
- This option enables support for monochrome LEDs that are grouped
- into multicolor LEDs which is useful in the case where LEDs of
- different colors are physically grouped in a single multi-color LED
- and driven by a controller that does not have multi-color support.
-endef
-
-$(eval $(call KernelPackage,led-group-multi-color))
-
 LED_TRIGGER_DIR=$(LINUX_DIR)/drivers/leds/trigger
 
 define KernelPackage/ledtrig-activity
@@ -331,4 +313,4 @@ define KernelPackage/leds-lp5562/description
  LED controllers.
 endef
 
-$(eval $(call KernelPackage,leds-lp5562))
+$(eval $(call KernelPackage,leds-lp5562))
\ No newline at end of file




More information about the lede-commits mailing list