Add kernel module package for hid-generic driver.
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 24 Apr 2013 09:49:03 +0000 (09:49 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 24 Apr 2013 09:49:03 +0000 (09:49 +0000)
Needed to support e.g. keyboards and mice.

Signed-off-by: Danny Baumann <dannybaumann@web.de>
SVN-Revision: 36414

package/kernel/modules/input.mk

index d3c1b34e65464ad389b42b3ab874a36536af8905..89575ae78397c62c10af48fcb861a14aca23b31d 100644 (file)
@@ -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)