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 607b065e528bcb40f926beef90d4176aad60e16a..ed72f521eb623c85233bef20bb59c11958ac62c2 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)