aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-12-17 17:10:11 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-12-17 17:10:11 +0000
commita059a11ee1e03c0cbe1dd400328b2d71820848d2 (patch)
tree7e1bddd9791112144a99223f58459db44c0a8c4f /package/kernel
parent3b8a79395ae9042a0717ebbb05996c52d9f320f3 (diff)
downloadupstream-a059a11ee1e03c0cbe1dd400328b2d71820848d2.tar.gz
upstream-a059a11ee1e03c0cbe1dd400328b2d71820848d2.tar.bz2
upstream-a059a11ee1e03c0cbe1dd400328b2d71820848d2.zip
generic: add LED trigger for USB device presence/activity
SVN-Revision: 24646
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/other.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 97869747bc..553466d7bf 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -573,6 +573,21 @@ endef
$(eval $(call KernelPackage,ledtrig-netfilter))
+define KernelPackage/ledtrig-usbdev
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=LED USB device Trigger
+ DEPENDS:=@USB_SUPPORT +kmod-usb-core
+ KCONFIG:=CONFIG_LEDS_TRIGGER_USBDEV
+ FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-usbdev.ko
+ AUTOLOAD:=$(call AutoLoad,50,ledtrig-usbdev)
+endef
+
+define KernelPackage/ledtrig-usbdev/description
+ Kernel module to drive LEDs based on USB device presence/activity.
+endef
+
+$(eval $(call KernelPackage,ledtrig-usbdev))
+
define KernelPackage/lp
SUBMENU:=$(OTHER_MENU)