aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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