aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i2c/tsc2007.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/i2c/tsc2007.h')
-rw-r--r--include/linux/i2c/tsc2007.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/linux/i2c/tsc2007.h b/include/linux/i2c/tsc2007.h
index 506a9f7af51e..4f35b6ad3889 100644
--- a/include/linux/i2c/tsc2007.h
+++ b/include/linux/i2c/tsc2007.h
@@ -7,16 +7,14 @@ struct tsc2007_platform_data {
7 u16 model; /* 2007. */ 7 u16 model; /* 2007. */
8 u16 x_plate_ohms; /* must be non-zero value */ 8 u16 x_plate_ohms; /* must be non-zero value */
9 u16 max_rt; /* max. resistance above which samples are ignored */ 9 u16 max_rt; /* max. resistance above which samples are ignored */
10 unsigned long poll_delay; /* delay (in ms) after pen-down event
11 before polling starts */
12 unsigned long poll_period; /* time (in ms) between samples */ 10 unsigned long poll_period; /* time (in ms) between samples */
13 int fuzzx; /* fuzz factor for X, Y and pressure axes */ 11 int fuzzx; /* fuzz factor for X, Y and pressure axes */
14 int fuzzy; 12 int fuzzy;
15 int fuzzz; 13 int fuzzz;
16 14
17 int (*get_pendown_state)(void); 15 int (*get_pendown_state)(struct device *);
18 void (*clear_penirq)(void); /* If needed, clear 2nd level 16 /* If needed, clear 2nd level interrupt source */
19 interrupt source */ 17 void (*clear_penirq)(void);
20 int (*init_platform_hw)(void); 18 int (*init_platform_hw)(void);
21 void (*exit_platform_hw)(void); 19 void (*exit_platform_hw)(void);
22}; 20};