diff options
author | Jianchun Bian <jcbian@pixcir.com.cn> | 2011-12-30 18:16:21 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-12-30 18:25:52 -0500 |
commit | 36a281e25276f2d138bbbca4170d11453323cce1 (patch) | |
tree | ee27168ff87f8ec5d8d73ad36ac678ac39f22b80 /include/linux/input | |
parent | 48c98b1bb85a09adf4aa27316682d573e1f37ebf (diff) |
Input: add driver for pixcir i2c touchscreens
This patch adds a driver for PIXCIR's I2C connected touchscreens.
Signed-off-by: Jianchun <jcbian@pixcir.com.cn>
Acked-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/input')
-rw-r--r-- | include/linux/input/pixcir_ts.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/input/pixcir_ts.h b/include/linux/input/pixcir_ts.h new file mode 100644 index 000000000000..7163d91c0373 --- /dev/null +++ b/include/linux/input/pixcir_ts.h | |||
@@ -0,0 +1,10 @@ | |||
1 | #ifndef _PIXCIR_I2C_TS_H | ||
2 | #define _PIXCIR_I2C_TS_H | ||
3 | |||
4 | struct pixcir_ts_platform_data { | ||
5 | int (*attb_read_val)(void); | ||
6 | int x_max; | ||
7 | int y_max; | ||
8 | }; | ||
9 | |||
10 | #endif | ||