aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-10-06 04:52:44 +0000
committerJohn Crispin <blogic@openwrt.org>2014-10-06 04:52:44 +0000
commit6e8e2303cb786cb199fbf4d6fff130ea5cbad4ba (patch)
tree5c1564f6549a679c0d9ac8a4f01de22358b81960 /package/kernel/linux/modules
parent23246db9e0fb2caa7fc1dae86292aa6f0cbccd85 (diff)
downloadmaster-187ad058-6e8e2303cb786cb199fbf4d6fff130ea5cbad4ba.tar.gz
master-187ad058-6e8e2303cb786cb199fbf4d6fff130ea5cbad4ba.tar.bz2
master-187ad058-6e8e2303cb786cb199fbf4d6fff130ea5cbad4ba.zip
kernel: add ledtrig-transient module support
Signed-off-by: Michael Heimpold <mhei@heimpold.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42790 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/linux/modules')
-rw-r--r--package/kernel/linux/modules/leds.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/leds.mk b/package/kernel/linux/modules/leds.mk
index 24a03ddf03..9c54c78191 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