summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndy Green <andy@warmcat.com>2011-05-30 07:43:08 -0700
committerNicolas Pitre <nicolas.pitre@linaro.org>2011-06-19 11:07:01 -0400
commit302011ce00c9a3067b9c2857ae54588711fbd4ae (patch)
tree71016543b5f3da0dee2cec111cd055bdcfb769b3 /include
parent8cea7a44d7642c48cd786688ce7e179672ce733f (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 Cc: Ben Dooks <ben-linux@fluff.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> Signed-off-by: Kevin Hilman <khilman@ti.com> Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Diffstat (limited to 'include')
-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 b321211fa70..776c8e18fe1 100644
--- a/include/linux/i2c-omap.h
+++ b/include/linux/i2c-omap.h
@@ -18,6 +18,7 @@
struct omap_i2c_bus_platform_data {
u32 clkrate;
u32 rev;
+ u32 flags;
void (*set_mpu_wkup_lat)(struct device *dev, long set);
int (*device_enable) (struct platform_device *pdev);
int (*device_shutdown) (struct platform_device *pdev);