Skip to content

Commit

Permalink
kernel: modules: fix led-group-multi-color patch
Browse files Browse the repository at this point in the history
Fixes: 5fd86d6 ("kernel: modules: add support for led-group-multicolor")
Signed-off-by: John Crispin <[email protected]>
  • Loading branch information
blogic committed Dec 12, 2024
1 parent 5fd86d6 commit 1cea889
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions package/kernel/linux/modules/leds.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 1cea889

Please sign in to comment.