aboutsummaryrefslogtreecommitdiff
path: root/include/linux/platform_data/i2c-nuc900.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/i2c-nuc900.h
parent19d331010636a43318c09fbdaa5ae7ef4bb6f7eb (diff)
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/i2c-nuc900.h')
-rw-r--r--include/linux/platform_data/i2c-nuc900.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/platform_data/i2c-nuc900.h b/include/linux/platform_data/i2c-nuc900.h
new file mode 100644
index 00000000000..9ffb12d06e9
--- /dev/null
+++ b/include/linux/platform_data/i2c-nuc900.h
@@ -0,0 +1,9 @@
+#ifndef __ASM_ARCH_NUC900_I2C_H
+#define __ASM_ARCH_NUC900_I2C_H
+
+struct nuc900_platform_i2c {
+ int bus_num;
+ unsigned long bus_freq;
+};
+
+#endif /* __ASM_ARCH_NUC900_I2C_H */