summaryrefslogtreecommitdiffstats
path: root/include/linux/i2c
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2011-04-28 13:25:36 +0900
committerBen Dooks <ben-linux@fluff.org>2011-05-11 07:08:13 +0100
commit81f8115305f821335cf9e16110bf0806f7b93283 (patch)
tree99353fbf61b57769b52cadb47c30ae6f3fb88479 /include/linux/i2c
parent1082d5d29d9a71f43b969b89ce613374602a6946 (diff)
downloadop-kernel-dev-81f8115305f821335cf9e16110bf0806f7b93283.zip
op-kernel-dev-81f8115305f821335cf9e16110bf0806f7b93283.tar.gz
i2c: i2c-sh_mobile bus speed platform data V2
Add support to the i2c-sh_mobile driver for setting the I2C bus speed using platform data. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'include/linux/i2c')
-rw-r--r--include/linux/i2c/i2c-sh_mobile.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/i2c/i2c-sh_mobile.h b/include/linux/i2c/i2c-sh_mobile.h
new file mode 100644
index 0000000..beda7081
--- /dev/null
+++ b/include/linux/i2c/i2c-sh_mobile.h
@@ -0,0 +1,10 @@
+#ifndef __I2C_SH_MOBILE_H__
+#define __I2C_SH_MOBILE_H__
+
+#include <linux/platform_device.h>
+
+struct i2c_sh_mobile_platform_data {
+ unsigned long bus_speed;
+};
+
+#endif /* __I2C_SH_MOBILE_H__ */
OpenPOWER on IntegriCloud