From f7a210d168c121892a2bd5b73860ac91a856b253 Mon Sep 17 00:00:00 2001 From: juhosg Date: Fri, 17 Dec 2010 17:10:11 +0000 Subject: generic: add LED trigger for USB device presence/activity git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24646 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/other.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'package') diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 97869747b..553466d7b 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) -- cgit v1.2.3