aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMatt Hsu <matt_hsu@openmoko.org>2009-02-09 13:03:25 +0000
committerAndy Green <agreen@octopus.localdomain>2009-02-09 13:03:25 +0000
commitfc193b9ce4fac373a7c7fa55e5bec8d67e4424fe (patch)
tree0745860553462e04d26b88d58bebcafa334c4c61 /include/linux
parent498d0953423a504cd24d11a0307e0ec01b81b68d (diff)
Add platform data of pcap7200 touch panel device.
The following two features are added as platform data. - externel reset - operating mode Signed-off-by: Matt Hsu <matt_hsu@openmoko.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/pcap7200.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/pcap7200.h b/include/linux/pcap7200.h
index f52ba15c556..0fafb863e6b 100644
--- a/include/linux/pcap7200.h
+++ b/include/linux/pcap7200.h
@@ -17,4 +17,9 @@ enum gesture {
SND_SLIDE,
};
+struct pcap7200_platform_data {
+ enum op_mode mode;
+ void (*reset)(void);
+};
+
#endif /* _LINUX_PCPA7200_H */