diff options
author | Magnus Damm | 2011-04-28 13:25:36 +0900 |
---|---|---|
committer | Ben Dooks | 2011-05-11 07:08:13 +0100 |
commit | 81f8115305f821335cf9e16110bf0806f7b93283 (patch) | |
tree | 99353fbf61b57769b52cadb47c30ae6f3fb88479 /include | |
parent | 1082d5d29d9a71f43b969b89ce613374602a6946 (diff) |
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')
-rw-r--r-- | include/linux/i2c/i2c-sh_mobile.h | 10 |
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 000000000000..beda7081aead --- /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__ */ |