diff options
author | John Crispin <john@openwrt.org> | 2014-10-06 04:52:44 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-10-06 04:52:44 +0000 |
commit | fcbad42acd3e7333a7c0ade053d88c3d17cd0ecb (patch) | |
tree | 9c6215f757d649a201989dcac49bd411a1c81eb5 /package/kernel/linux | |
parent | d76b7e0221ea556545a046aea871a1f42af6c6a1 (diff) | |
download | mtk-20170518-fcbad42acd3e7333a7c0ade053d88c3d17cd0ecb.zip mtk-20170518-fcbad42acd3e7333a7c0ade053d88c3d17cd0ecb.tar.gz mtk-20170518-fcbad42acd3e7333a7c0ade053d88c3d17cd0ecb.tar.bz2 |
kernel: add ledtrig-transient module support
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
SVN-Revision: 42790
Diffstat (limited to 'package/kernel/linux')
-rw-r--r-- | package/kernel/linux/modules/leds.mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/leds.mk b/package/kernel/linux/modules/leds.mk index 24a03dd..9c54c78 100644 --- a/package/kernel/linux/modules/leds.mk +++ b/package/kernel/linux/modules/leds.mk @@ -151,6 +151,21 @@ endef $(eval $(call KernelPackage,ledtrig-timer)) +define KernelPackage/ledtrig-transient + SUBMENU:=$(LEDS_MENU) + TITLE:=LED Transient Trigger + KCONFIG:=CONFIG_LEDS_TRIGGER_TRANSIENT + FILES:=$(LINUX_DIR)/drivers/leds/$(if $(call kernel_patchver_ge,3.10),trigger/)ledtrig-transient.ko + AUTOLOAD:=$(call AutoLoad,50,ledtrig-transient,1) +endef + +define KernelPackage/ledtrig-transient/description + Kernel module that allows LEDs one time activation of a transient state. +endef + +$(eval $(call KernelPackage,ledtrig-transient)) + + define KernelPackage/ledtrig-oneshot SUBMENU:=$(LEDS_MENU) TITLE:=LED One-Shot Trigger |