summaryrefslogtreecommitdiffstats
path: root/drivers/staging/cptm1217/cp_tm1217.h
diff options
context:
space:
mode:
authorRamesh Agarwal2010-10-22 15:00:20 +0200
committerGreg Kroah-Hartman2010-11-10 00:19:50 +0100
commit78fd115e21087133be74bc6dd7a9bc1969aea8f8 (patch)
tree3be1575805e3096245a7719a88810febe49ba151 /drivers/staging/cptm1217/cp_tm1217.h
parentStaging: xgifb: change obsolete pci_find_device() with pci_get_device() (diff)
downloadkernel-qcow2-linux-78fd115e21087133be74bc6dd7a9bc1969aea8f8.tar.gz
kernel-qcow2-linux-78fd115e21087133be74bc6dd7a9bc1969aea8f8.tar.xz
kernel-qcow2-linux-78fd115e21087133be74bc6dd7a9bc1969aea8f8.zip
Staging: add Synaptics TM1217 Touchscreen Controller driver
This is submitted as a staging driver because there is a more generic driver "on the way" for all these devices and has been for some time. The intent is that as soon as the general drivers are in the mainstream this one will get any leftovers integrated and then be dumped. Until this unspecified future data at least people can actually use their hardware. As its interface is simply input layer we can do that without pain. Some clean up by Alan Cox - Extract gpio support and IRQ support more sanely - Tidying Signed-off-by: Ramesh Agarwal <ramesh.agarwal@intel.com> [avoid deference NULL ts if kzalloc fails] [finger_touched may be used uninitialized] [fix missing sync which confused twm] Signed-off-by: Hong Liu <hong.liu@intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/cptm1217/cp_tm1217.h')
-rw-r--r--drivers/staging/cptm1217/cp_tm1217.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/staging/cptm1217/cp_tm1217.h b/drivers/staging/cptm1217/cp_tm1217.h
new file mode 100644
index 000000000000..a0ce31db53f8
--- /dev/null
+++ b/drivers/staging/cptm1217/cp_tm1217.h
@@ -0,0 +1,9 @@
+#ifndef __LINUX_I2C_CP_TM1217_H
+#define __LINUX_I2C_CP_TM1217_H
+
+struct cp_tm1217_platform_data
+{
+ int gpio; /* If not set uses the IRQ resource 0 */
+};
+
+#endif