aboutsummaryrefslogtreecommitdiff
path: root/include/linux/mfd/pcf50633/input.h
diff options
context:
space:
mode:
authorBalaji Rao <balajirrao@openmoko.org>2008-11-20 19:46:51 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-20 19:46:51 +0000
commit5557b3223d35dd25366d6ef047299b1dc94b17e6 (patch)
tree51916c9efabb93c2a337a703abf686accbfdad36 /include/linux/mfd/pcf50633/input.h
parentb0c88072f6652fa897d67a4e8c5bea5e09438189 (diff)
pcf50633_mfd.patch
pcf50633 driver rewritten to use the MFD model.
Diffstat (limited to 'include/linux/mfd/pcf50633/input.h')
-rw-r--r--include/linux/mfd/pcf50633/input.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/linux/mfd/pcf50633/input.h b/include/linux/mfd/pcf50633/input.h
new file mode 100644
index 00000000000..5f8d78ffea0
--- /dev/null
+++ b/include/linux/mfd/pcf50633/input.h
@@ -0,0 +1,17 @@
+#ifndef __LINUX_MFD_PCF50633_INPUT_H
+#define __LINUX_MFD_PCF50633_INPUT_H
+
+#include <linux/platform_device.h>
+#include <linux/input.h>
+
+#define PCF50633_OOCSTAT_ONKEY 0x01
+#define PCF50633_REG_OOCSTAT 0x12
+#define PCF50633_REG_OOCMODE 0x10
+
+struct pcf50633_input {
+ struct input_dev *input_dev;
+ struct platform_device *pdev;
+};
+
+#endif
+