diff options
author | Claudio Mignanti <c.mignanti@gmail.com> | 2010-07-12 13:20:04 +0000 |
---|---|---|
committer | Claudio Mignanti <c.mignanti@gmail.com> | 2010-07-12 13:20:04 +0000 |
commit | bbcb9de93547b7aa0b11eb55e91914448c4b0901 (patch) | |
tree | 6de770986732b63223d15ce8e600cce6e261a4ac /package/kernel/modules | |
parent | 828919b2ba61384a9a002c28b9224e9dd608b6c8 (diff) | |
download | upstream-bbcb9de93547b7aa0b11eb55e91914448c4b0901.tar.gz upstream-bbcb9de93547b7aa0b11eb55e91914448c4b0901.tar.bz2 upstream-bbcb9de93547b7aa0b11eb55e91914448c4b0901.zip |
Add package for gpio rotary encoder
SVN-Revision: 22144
Diffstat (limited to 'package/kernel/modules')
-rw-r--r-- | package/kernel/modules/other.mk | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 9b8259b3df..08d284270f 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -310,6 +310,22 @@ endef $(eval $(call KernelPackage,input-gpio-keys)) +define KernelPackage/input-gpio-encoder + SUBMENU:=$(OTHER_MENU) + TITLE:=GPIO rotay encoder + KCONFIG:=CONFIG_INPUT_GPIO_ROTARY_ENCODER + FILES:=$(LINUX_DIR)/drivers/input/misc/rotary_encoder.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,62,rotary_encoder) + $(call AddDepends/input,@GPIO_SUPPORT) +endef + +define KernelPackage/gpio-encoder/description + Kernel module to use rotary encoders connected to GPIO pins +endef + +$(eval $(call KernelPackage,input-gpio-encoder)) + + define KernelPackage/input-joydev SUBMENU:=$(OTHER_MENU) TITLE:=Joystick device support |