aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Green <andy@warmcat.com>2011-05-30 10:43:08 -0400
committerBen Dooks <ben-linux@fluff.org>2011-10-29 04:37:08 -0400
commitc23600a688dc71f4312f83cb0f23a736e1578a5e (patch)
tree55564f0ce2bb197cf1df99cfe44c7e9aa73b4423
parent4e80f727bf59e8c1ea8e47c45c9ef368d353d835 (diff)
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: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Andy Green <andy.green@linaro.org> Signed-off-by: Tony Lindgren <tony@atomide.com> Acked-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Kevin Hilman <khilman@ti.com>
-rw-r--r--include/linux/i2c-omap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/i2c-omap.h b/include/linux/i2c-omap.h
index 55eac259a451..56a9924c31ca 100644
--- a/include/linux/i2c-omap.h
+++ b/include/linux/i2c-omap.h
@@ -33,6 +33,7 @@
33struct omap_i2c_bus_platform_data { 33struct omap_i2c_bus_platform_data {
34 u32 clkrate; 34 u32 clkrate;
35 u32 rev; 35 u32 rev;
36 u32 flags;
36 void (*set_mpu_wkup_lat)(struct device *dev, long set); 37 void (*set_mpu_wkup_lat)(struct device *dev, long set);
37 int (*device_enable) (struct platform_device *pdev); 38 int (*device_enable) (struct platform_device *pdev);
38 int (*device_shutdown) (struct platform_device *pdev); 39 int (*device_shutdown) (struct platform_device *pdev);