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 | 21a4f56bc642031d2dd5b84bdb21b378fc0964ba (patch) | |
tree | fb4ef39b00428d6bd9354ce4ac3f84d967cac8d5 /package | |
parent | 4d67ce00923b081ab4138aff86f23a07ce303ff8 (diff) | |
download | upstream-21a4f56bc642031d2dd5b84bdb21b378fc0964ba.tar.gz upstream-21a4f56bc642031d2dd5b84bdb21b378fc0964ba.tar.bz2 upstream-21a4f56bc642031d2dd5b84bdb21b378fc0964ba.zip |
generic: add LED trigger for USB device presence/activity
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24646 3c298f89-4303-0410-b956-a3cf2f4a3e73
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) |