aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-04-07 19:54:44 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-04-07 19:54:44 +0000
commit5798590c7c8b3f5a467885f7443846d292ce33f4 (patch)
tree24eec8c1d530b1f115f48a6085af39298c36eb0d /package/kernel
parent9d6946765afea06d1690ea8a96d02e1d3fc4d8e0 (diff)
downloadupstream-5798590c7c8b3f5a467885f7443846d292ce33f4.tar.gz
upstream-5798590c7c8b3f5a467885f7443846d292ce33f4.tar.bz2
upstream-5798590c7c8b3f5a467885f7443846d292ce33f4.zip
add a polled GPIO buttons input driver
SVN-Revision: 10766
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/other.mk34
1 files changed, 34 insertions, 0 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 03d2f0de6d..921cebf4cf 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -497,6 +497,40 @@ endef
$(eval $(call KernelPackage,input-evdev))
+define KernelPackage/input-polldev
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=Polled Input device support
+ DEPENDS:=+kmod-input-core @LINUX_2_6
+ KCONFIG:=CONFIG_INPUT_POLLDEV
+ FILES:=$(LINUX_DIR)/drivers/input/input-polldev.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,61,input-polldev)
+endef
+
+define KernelPackage/input-polldev/description
+ Kernel module for support of polled input devices
+endef
+
+$(eval $(call KernelPackage,input-polldev))
+
+
+define KernelPackage/input-gpio-buttons
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=Polled GPIO buttons input device
+ DEPENDS:=+kmod-input-polldev @LINUX_2_6
+ KCONFIG:= \
+ CONFIG_INPUT_GPIO_BUTTONS \
+ CONFIG_INPUT_MISC=y
+ FILES:=$(LINUX_DIR)/drivers/input/misc/gpio_buttons.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,62,gpio_buttons)
+endef
+
+define KernelPackage/input-gpio-buttons/description
+ Kernel module for support polled GPIO buttons input device
+endef
+
+$(eval $(call KernelPackage,input-gpio-buttons))
+
+
define KernelPackage/mmc-spi
SUBMENU:=$(OTHER_MENU)
TITLE:=MMC/SD over SPI Support