summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-04-20 21:01:03 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-04-20 21:01:03 +0000
commitdeb3135ef2d423390bc54684f31ad8cdaef08891 (patch)
treef8c5fe6de480f9485aad4959581ad1834d2e89d2
parentf3b3eb85567519be7fd76b1b815deb066320d18f (diff)
add missing kmod-hid module (thx, fish)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10894 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/modules/other.mk16
-rw-r--r--package/kernel/modules/usb.mk2
2 files changed, 17 insertions, 1 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 3872b3cfea..11ef57219b 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -498,6 +498,22 @@ endef
$(eval $(call KernelPackage,input-evdev))
+define KernelPackage/hid
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=Input even device
+ DEPENDS:=+kmod-input-core +kmod-input-evdev
+ KCONFIG:=CONFIG_HID
+ FILES:=$(LINUX_DIR)/drivers/hid/hid.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,61,hid)
+endef
+
+define KernelPackage/hid/description
+ Kernel modules for HID devices
+endef
+
+$(eval $(call KernelPackage,hid))
+
+
define KernelPackage/input-polldev
SUBMENU:=$(OTHER_MENU)
TITLE:=Polled Input device support
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk
index bfe14f642d..0f6b8c7860 100644
--- a/package/kernel/modules/usb.mk
+++ b/package/kernel/modules/usb.mk
@@ -561,7 +561,7 @@ $(eval $(call KernelPackage,usb-net-cdc-ether))
define KernelPackage/usb-hid
- $(call usbdep,@LINUX_2_6 +kmod-input-core +kmod-input-evdev)
+ $(call usbdep,@LINUX_2_6 +kmod-input-core +kmod-input-evdev +kmod-hid)
TITLE:=Support for USB Human Input Devices
KCONFIG:=CONFIG_HID_SUPPORT=y CONFIG_USB_HID
FILES:=$(LINUX_DIR)/drivers/$(USBHID_DIR)/usbhid.ko