summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/keypad-w90p910.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-08-24 15:18:36 +0200
committerArnd Bergmann <arnd@arndb.de>2012-09-14 11:18:59 +0200
commit54ecf4f05637183ffd0ac98f906e45e271030a55 (patch)
tree7d5a7ac9dc9e1a512e26b741562a66b91b296212 /include/linux/platform_data/keypad-w90p910.h
parent19d331010636a43318c09fbdaa5ae7ef4bb6f7eb (diff)
downloadlinux-54ecf4f05637183ffd0ac98f906e45e271030a55.tar.gz
linux-54ecf4f05637183ffd0ac98f906e45e271030a55.tar.bz2
linux-54ecf4f05637183ffd0ac98f906e45e271030a55.zip
ARM: w90x900: move platform_data definitions
Platform data for device drivers should be defined in include/linux/platform_data/*.h, not in the architecture and platform specific directories. This moves such data out of the w90x900 include directories Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Nicolas Pitre <nico@linaro.org> Cc: Wan ZongShun <mcuos.com@gmail.com> Cc: "Ben Dooks (embedded platforms)" <ben-linux@fluff.org> Cc: "Wolfram Sang (embedded platforms)" <w.sang@pengutronix.de> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: Grant Likely <grant.likely@secretlab.ca> Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'include/linux/platform_data/keypad-w90p910.h')
-rw-r--r--include/linux/platform_data/keypad-w90p910.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/platform_data/keypad-w90p910.h b/include/linux/platform_data/keypad-w90p910.h
new file mode 100644
index 000000000000..556778e8ddaa
--- /dev/null
+++ b/include/linux/platform_data/keypad-w90p910.h
@@ -0,0 +1,15 @@
+#ifndef __ASM_ARCH_W90P910_KEYPAD_H
+#define __ASM_ARCH_W90P910_KEYPAD_H
+
+#include <linux/input/matrix_keypad.h>
+
+extern void mfp_set_groupi(struct device *dev);
+
+struct w90p910_keypad_platform_data {
+ const struct matrix_keymap_data *keymap_data;
+
+ unsigned int prescale;
+ unsigned int debounce;
+};
+
+#endif /* __ASM_ARCH_W90P910_KEYPAD_H */