package/kernel: package kmod-input-matrixkmap
authorFlorian Fainelli <florian@openwrt.org>
Mon, 10 Dec 2012 21:05:06 +0000 (21:05 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Mon, 10 Dec 2012 21:05:06 +0000 (21:05 +0000)
This is required by some keyboard drivers in 3.6+

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34614

package/kernel/modules/other.mk

index 607b065..ed72f52 100644 (file)
@@ -297,6 +297,21 @@ endef
 
 $(eval $(call KernelPackage,input-polldev))
 
+define KernelPackage/input-matrixkmap
+   SUBMENU:=$(OTHER_MENU)
+   TITLE:=Input matrix devices support
+   KCONFIG:=CONFIG_INPUT_MATRIXKMAP
+   DEPENDS:=@LINUX_3_6||@LINUX_3_7
+   FILES:=$(LINUX_DIR)/drivers/input/matrix-keymap.ko
+   AUTOLOAD:=$(call AutoLoad,20,matrix-keymap)
+   $(call AddDepends/input)
+endef
+
+define KernelPackage/input-matrix/description
+  Kernel module support for input matrix devices
+endef
+
+$(eval $(call KernelPackage,input-matrixkmap))
 
 define KernelPackage/lp
   SUBMENU:=$(OTHER_MENU)