SPI: Separate TSC2301 keypad and touchscreen modules under input subsystem
authorJarkko Nikula <jarkko.nikula@nokia.com>
Thu, 22 Mar 2007 09:14:52 +0000 (11:14 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 30 Mar 2007 19:10:21 +0000 (15:10 -0400)
Patch moves TSC2301 keypad and touchscreen modules and Kconfig options
into keyboard and touchscreen directories under drivers/input.

Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/input/keyboard/Kconfig
drivers/input/keyboard/Makefile
drivers/input/keyboard/tsc2301_kp.c [moved from drivers/spi/tsc2301-kp.c with 100% similarity]
drivers/input/touchscreen/Kconfig
drivers/input/touchscreen/Makefile
drivers/input/touchscreen/tsc2301_ts.c [moved from drivers/spi/tsc2301-ts.c with 100% similarity]
drivers/spi/Kconfig
drivers/spi/Makefile
include/linux/spi/tsc2301.h

index 0088e1c..6fefc4d 100644 (file)
@@ -239,4 +239,10 @@ config KEYBOARD_GPIO
          To compile this driver as a module, choose M here: the
          module will be called gpio-keys.
 
+config KEYBOARD_TSC2301
+       tristate "TSC2301 keypad support"
+       depends on SPI_TSC2301
+       help
+         Say Y here for if you are using the keypad features of TSC2301.
+
 endif
index 17e5ce0..f80aebe 100644 (file)
@@ -20,4 +20,5 @@ obj-$(CONFIG_KEYBOARD_OMAP)             += omap-keypad.o
 obj-$(CONFIG_OMAP_PS2)                 += innovator_ps2.o
 obj-$(CONFIG_KEYBOARD_AAED2000)         += aaed2000_kbd.o
 obj-$(CONFIG_KEYBOARD_GPIO)            += gpio_keys.o
+obj-$(CONFIG_KEYBOARD_TSC2301)         += tsc2301_kp.o
 
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge