diff options
author | claudio <claudio@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-07-12 13:20:04 +0000 |
---|---|---|
committer | claudio <claudio@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-07-12 13:20:04 +0000 |
commit | d63165a48dd3686de0b4b2c3d26d9442ef2ef4e8 (patch) | |
tree | 8e413a4d9e025a415b018fc96782fdf91c01b2a9 | |
parent | 4747359497497642942042f9121c9616296df46b (diff) |
[kernel] Add package for gpio rotary encoder
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22144 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 9b8259b3d..08d284270 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 |