summaryrefslogtreecommitdiff
path: root/include/linux/i2c
diff options
context:
space:
mode:
authorDenis Carikli <denis@eukrea.com>2013-11-19 11:56:04 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-11-25 18:27:53 -0800
commit07f9e5cf8e4154ad17b92ad288be0f04fa0cb94f (patch)
tree2369ad48e65fb898bc57858a6ab36f13a2125e41 /include/linux/i2c
parentbd77c321945f652f6225847a8405f469601cd02c (diff)
Input: tsc2007 - add device tree support.
Signed-off-by: Denis Carikli <denis@eukrea.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/i2c')
-rw-r--r--include/linux/i2c/tsc2007.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/i2c/tsc2007.h b/include/linux/i2c/tsc2007.h
index 506a9f7af51e..041c8e823664 100644
--- a/include/linux/i2c/tsc2007.h
+++ b/include/linux/i2c/tsc2007.h
@@ -14,9 +14,9 @@ struct tsc2007_platform_data {
int fuzzy;
int fuzzz;
- int (*get_pendown_state)(void);
- void (*clear_penirq)(void); /* If needed, clear 2nd level
- interrupt source */
+ int (*get_pendown_state)(struct device *);
+ /* If needed, clear 2nd level interrupt source */
+ void (*clear_penirq)(void);
int (*init_platform_hw)(void);
void (*exit_platform_hw)(void);
};