summaryrefslogtreecommitdiffstats
path: root/package/kernel/modules
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/modules')
-rw-r--r--package/kernel/modules/other.mk13
1 files changed, 10 insertions, 3 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 403af57a7..261a65e36 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -270,10 +270,7 @@ $(eval $(call KernelPackage,hid))
define KernelPackage/input-core
SUBMENU:=$(OTHER_MENU)
TITLE:=Input device core
- DEPENDS:=@LINUX_2_6
KCONFIG:=CONFIG_INPUT
- FILES:=$(LINUX_DIR)/drivers/input/input-core.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call AutoLoad,19,input-core)
$(call SetDepends/input)
endef
@@ -281,6 +278,16 @@ define KernelPackage/input-core/description
Kernel modules for support of input device
endef
+define KernelPackage/input-core/2.4
+ FILES:=$(LINUX_DIR)/drivers/input/input.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,19,input)
+endef
+
+define KernelPackage/input-core/2.6
+ FILES:=$(LINUX_DIR)/drivers/input/input-core.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,19,input-core)
+endef
+
$(eval $(call KernelPackage,input-core))