aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/input/bu21013.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/input/bu21013.h')
-rw-r--r--include/linux/input/bu21013.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/linux/input/bu21013.h b/include/linux/input/bu21013.h
index 05e03284b92..6230d76bde5 100644
--- a/include/linux/input/bu21013.h
+++ b/include/linux/input/bu21013.h
@@ -9,13 +9,10 @@
9 9
10/** 10/**
11 * struct bu21013_platform_device - Handle the platform data 11 * struct bu21013_platform_device - Handle the platform data
12 * @cs_en: pointer to the cs enable function
13 * @cs_dis: pointer to the cs disable function
14 * @irq_read_val: pointer to read the pen irq value function
15 * @touch_x_max: touch x max 12 * @touch_x_max: touch x max
16 * @touch_y_max: touch y max 13 * @touch_y_max: touch y max
17 * @cs_pin: chip select pin 14 * @cs_pin: chip select pin
18 * @irq: irq pin 15 * @touch_pin: touch gpio pin
19 * @ext_clk: external clock flag 16 * @ext_clk: external clock flag
20 * @x_flip: x flip flag 17 * @x_flip: x flip flag
21 * @y_flip: y flip flag 18 * @y_flip: y flip flag
@@ -24,13 +21,10 @@
24 * This is used to handle the platform data 21 * This is used to handle the platform data
25 */ 22 */
26struct bu21013_platform_device { 23struct bu21013_platform_device {
27 int (*cs_en)(int reset_pin);
28 int (*cs_dis)(int reset_pin);
29 int (*irq_read_val)(void);
30 int touch_x_max; 24 int touch_x_max;
31 int touch_y_max; 25 int touch_y_max;
32 unsigned int cs_pin; 26 unsigned int cs_pin;
33 unsigned int irq; 27 unsigned int touch_pin;
34 bool ext_clk; 28 bool ext_clk;
35 bool x_flip; 29 bool x_flip;
36 bool y_flip; 30 bool y_flip;