]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
leds.mk: fix leds-group-multicolor name 20447/head
authorAndrii Kuiukoff <andros.ua@gmail.com>
Fri, 17 Oct 2025 22:21:19 +0000 (01:21 +0300)
committerRobert Marko <robimarko@gmail.com>
Sun, 19 Oct 2025 17:39:39 +0000 (19:39 +0200)
Fix package name and AUTOLOAD parameter to match the
actual kernel module name (leds-group-multicolor), enabling proper
auto-loading at boot.

Signed-off-by: Andrii Kuiukoff <andros.ua@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20447
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/kernel/linux/modules/leds.mk

index d4c42cea17c10fc97d6cc69a2ce2e24bfecc2f53..1de74c98c821cca968160d8602bb405daf532465 100644 (file)
@@ -24,22 +24,22 @@ $(eval $(call KernelPackage,leds-gpio))
 
 LED_TRIGGER_DIR=$(LINUX_DIR)/drivers/leds/trigger
 
-define KernelPackage/led-group-multi-color
+define KernelPackage/leds-group-multicolor
   SUBMENU:=$(LEDS_MENU)
-  TITLE:=LEDs group multi-color support
+  TITLE:=LEDs group multicolor support
   KCONFIG:=CONFIG_LEDS_GROUP_MULTICOLOR
   FILES:=$(LINUX_DIR)/drivers/leds/rgb/leds-group-multicolor.ko
-  AUTOLOAD:=$(call AutoProbe,led-group-multi-color)
+  AUTOLOAD:=$(call AutoProbe,leds-group-multicolor)
 endef
 
-define KernelPackage/led-group-multi-color/description
+define KernelPackage/leds-group-multicolor/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))
+$(eval $(call KernelPackage,leds-group-multicolor))
 
 define KernelPackage/ledtrig-activity
   SUBMENU:=$(LEDS_MENU)