summaryrefslogtreecommitdiffstats
path: root/include/linux/input
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2009-08-12 00:50:09 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-08-12 01:09:50 -0700
commit25a70e38cd57952b09a013bf070e03705ee4f2ff (patch)
treec82d3c61ccd60b022dd9df7ded927f4591a85f9e /include/linux/input
parent09113aea553cfaf074fd669cd0465daac4cea6e8 (diff)
Input: eeti_ts - allow active high irq lines
This adds a struct eeti_ts_platform_data which currently holds only one value to specify the interrupt polarity. The driver has a fallback if no platform data is passed in via the i2c_board_info, so no regression is caused. Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/input')
-rw-r--r--include/linux/input/eeti_ts.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/input/eeti_ts.h b/include/linux/input/eeti_ts.h
new file mode 100644
index 00000000000..f875b316249
--- /dev/null
+++ b/include/linux/input/eeti_ts.h
@@ -0,0 +1,9 @@
+#ifndef LINUX_INPUT_EETI_TS_H
+#define LINUX_INPUT_EETI_TS_H
+
+struct eeti_ts_platform_data {
+ unsigned int irq_active_high;
+};
+
+#endif /* LINUX_INPUT_EETI_TS_H */
+