summaryrefslogtreecommitdiffstats
path: root/package/kernel/modules
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-04-24 09:49:03 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-04-24 09:49:03 +0000
commit141c2b7c413d7f645766c300abe25ca54df47416 (patch)
tree8221380493dc7ed37417fabcb881b86c33f1c0b9 /package/kernel/modules
parent93b03664bb60b86ef344ac43fbefe7689ec2a53a (diff)
Add kernel module package for hid-generic driver.
Needed to support e.g. keyboards and mice. Signed-off-by: Danny Baumann <dannybaumann@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36414 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules')
-rw-r--r--package/kernel/modules/input.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/kernel/modules/input.mk b/package/kernel/modules/input.mk
index d3c1b34e6..89575ae78 100644
--- a/package/kernel/modules/input.mk
+++ b/package/kernel/modules/input.mk
@@ -22,6 +22,20 @@ endef
$(eval $(call KernelPackage,hid))
+define KernelPackage/hid-generic
+ SUBMENU:=$(INPUT_MODULES_MENU)
+ TITLE:=Generic HID device support
+ KCONFIG:=CONFIG_HID_GENERIC
+ FILES:=$(LINUX_DIR)/drivers/hid/hid-generic.ko
+ AUTOLOAD:=$(call AutoLoad,62,hid-generic)
+ $(call AddDepends/hid)
+endef
+
+define KernelPackage/hid/description
+ Kernel modules for generic HID device (e.g. keyboards and mice) support
+endef
+
+$(eval $(call KernelPackage,hid-generic))
define KernelPackage/input-core
SUBMENU:=$(INPUT_MODULES_MENU)