aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-04-12 09:29:14 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-04-12 09:29:14 +0000
commitab95218312f5bf31619b3f264e3159f763c422f8 (patch)
tree632ec820c86c897902343ed0ad14e897df142b6a
parentfa7cdb26c4c752fcb09363b7f1c9b15760ca2b6b (diff)
downloadmaster-187ad058-ab95218312f5bf31619b3f264e3159f763c422f8.tar.gz
master-187ad058-ab95218312f5bf31619b3f264e3159f763c422f8.tar.bz2
master-187ad058-ab95218312f5bf31619b3f264e3159f763c422f8.zip
package/kernel: add module for the gpio_keys_polled driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26602 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/modules/other.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 6c35690d04..444e40e3b2 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -377,6 +377,25 @@ endef
$(eval $(call KernelPackage,input-gpio-keys))
+define KernelPackage/input-gpio-keys-polled
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=Polled GPIO key support
+ DEPENDS:=@GPIO_SUPPORT @!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_34||LINUX_2_6_35||LINUX_2_6_36) +kmod-input-polldev
+ KCONFIG:= \
+ CONFIG_KEYBOARD_GPIO_POLLED \
+ CONFIG_INPUT_KEYBOARD=y
+ FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys_polled.ko
+ AUTOLOAD:=$(call AutoLoad,62,gpio_keys_polled)
+ $(call AddDepends/input)
+endef
+
+define KernelPackage/input-gpio-keys-polled/description
+ Kernel module for support polled GPIO keys input device
+endef
+
+$(eval $(call KernelPackage,input-gpio-keys-polled))
+
+
define KernelPackage/input-gpio-encoder
SUBMENU:=$(OTHER_MENU)
TITLE:=GPIO rotay encoder