summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin2024-12-12 12:52:43 +0000
committerJohn Crispin2024-12-12 12:53:54 +0000
commit1cea889c96a8df4e91236e269539b086d519a60a (patch)
tree76095f763d441f0a72c042d1efa8c1f6b5cecb81
parent5fd86d66c15fc4d6f5076f7d07c91e0690d91531 (diff)
downloadopenwrt-1cea889c96a8df4e91236e269539b086d519a60a.tar.gz
kernel: modules: fix led-group-multi-color patch
Fixes: 5fd86d6 ("kernel: modules: add support for led-group-multicolor") Signed-off-by: John Crispin <john@phrozen.org>
-rw-r--r--package/kernel/linux/modules/leds.mk23
1 files changed, 11 insertions, 12 deletions
diff --git a/package/kernel/linux/modules/leds.mk b/package/kernel/linux/modules/leds.mk
index f6f74283ee..6c619b658e 100644
--- a/package/kernel/linux/modules/leds.mk
+++ b/package/kernel/linux/modules/leds.mk
@@ -22,21 +22,20 @@ endef
$(eval $(call KernelPackage,leds-gpio))
-define KernelPackage/led-group-multicolor
- 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)
+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.
+ 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))