package/kernel: renable kmod-input on 2.4 (closes: #7063)
authorNicolas Thill <nico@openwrt.org>
Thu, 29 Apr 2010 16:04:19 +0000 (16:04 +0000)
committerNicolas Thill <nico@openwrt.org>
Thu, 29 Apr 2010 16:04:19 +0000 (16:04 +0000)
SVN-Revision: 21262

package/kernel/modules/other.mk

index 403af57..261a65e 100644 (file)
@@ -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))