mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-18 21:28:02 +00:00
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>
This commit is contained in:
parent
5fd86d66c1
commit
1cea889c96
@ -22,21 +22,20 @@ endef
|
|||||||
|
|
||||||
$(eval $(call KernelPackage,leds-gpio))
|
$(eval $(call KernelPackage,leds-gpio))
|
||||||
|
|
||||||
define KernelPackage/led-group-multicolor
|
define KernelPackage/led-group-multi-color
|
||||||
SUBMENU:=$(LEDS_MENU)
|
SUBMENU:=$(LEDS_MENU)
|
||||||
TITLE:=LEDs group multi-color support
|
TITLE:=LEDs group multi-color support
|
||||||
KCONFIG:= \
|
KCONFIG:=CONFIG_LEDS_CLASS_MULTICOLOR \
|
||||||
CONFIG_LEDS_CLASS_MULTICOLOR \
|
CONFIG_LEDS_GROUP_MULTICOLOR
|
||||||
CONFIG_LEDS_GROUP_MULTICOLOR
|
FILES:=$(LINUX_DIR)/drivers/leds/rgb/leds-group-multicolor.ko
|
||||||
FILES:=$(LINUX_DIR)/drivers/leds/rgb/leds-group-multicolor.ko
|
AUTOLOAD:=$(call AutoProbe,led-group-multi-color)
|
||||||
AUTOLOAD:=$(call AutoProbe,led-group-multi-color)
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/led-group-multi-color/description
|
define KernelPackage/led-group-multi-color/description
|
||||||
This option enables support for monochrome LEDs that are grouped
|
This option enables support for monochrome LEDs that are grouped
|
||||||
into multicolor LEDs which is useful in the case where LEDs of
|
into multicolor LEDs which is useful in the case where LEDs of
|
||||||
different colors are physically grouped in a single multi-color LED
|
different colors are physically grouped in a single multi-color LED
|
||||||
and driven by a controller that does not have multi-color support.
|
and driven by a controller that does not have multi-color support.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call KernelPackage,led-group-multi-color))
|
$(eval $(call KernelPackage,led-group-multi-color))
|
||||||
|
Loading…
Reference in New Issue
Block a user