aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/spi
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/spi')
-rw-r--r--include/linux/spi/ads7846.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/spi/ads7846.h b/include/linux/spi/ads7846.h
index d8823e237e0b..adb3dafd33e9 100644
--- a/include/linux/spi/ads7846.h
+++ b/include/linux/spi/ads7846.h
@@ -15,9 +15,11 @@ struct ads7846_platform_data {
15 u16 y_min, y_max; 15 u16 y_min, y_max;
16 u16 pressure_min, pressure_max; 16 u16 pressure_min, pressure_max;
17 17
18 u16 debounce_max; /* max number of readings per sample */ 18 u16 debounce_max; /* max number of additional readings
19 * per sample */
19 u16 debounce_tol; /* tolerance used for filtering */ 20 u16 debounce_tol; /* tolerance used for filtering */
20 21 u16 debounce_rep; /* additional consecutive good readings
22 * required after the first two */
21 int (*get_pendown_state)(void); 23 int (*get_pendown_state)(void);
22}; 24};
23 25