diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-12-17 17:10:11 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-12-17 17:10:11 +0000 |
commit | a059a11ee1e03c0cbe1dd400328b2d71820848d2 (patch) | |
tree | 7e1bddd9791112144a99223f58459db44c0a8c4f /package | |
parent | 3b8a79395ae9042a0717ebbb05996c52d9f320f3 (diff) | |
download | master-31e0f0ae-a059a11ee1e03c0cbe1dd400328b2d71820848d2.tar.gz master-31e0f0ae-a059a11ee1e03c0cbe1dd400328b2d71820848d2.tar.bz2 master-31e0f0ae-a059a11ee1e03c0cbe1dd400328b2d71820848d2.zip |
generic: add LED trigger for USB device presence/activity
SVN-Revision: 24646
Diffstat (limited to 'package')
-rw-r--r-- | package/kernel/modules/other.mk | 15 |
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) |