提交 c23600a6 编写于 作者: A Andy Green 提交者: Ben Dooks

I2C: OMAP1/OMAP2+: add flags field to omap i2c platform data

OMAP I2C driver can access the configuration flags through
its platform data.

Cc: patches@linaro.org
Reported-by: NPeter Maydell <peter.maydell@linaro.org>
Signed-off-by: NAndy Green <andy.green@linaro.org>
Signed-off-by: NTony Lindgren <tony@atomide.com>
Acked-by: NBen Dooks <ben-linux@fluff.org>
Signed-off-by: NKevin Hilman <khilman@ti.com>
上级 4e80f727
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
struct omap_i2c_bus_platform_data { struct omap_i2c_bus_platform_data {
u32 clkrate; u32 clkrate;
u32 rev; u32 rev;
u32 flags;
void (*set_mpu_wkup_lat)(struct device *dev, long set); void (*set_mpu_wkup_lat)(struct device *dev, long set);
int (*device_enable) (struct platform_device *pdev); int (*device_enable) (struct platform_device *pdev);
int (*device_shutdown) (struct platform_device *pdev); int (*device_shutdown) (struct platform_device *pdev);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册