aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndy Green <andy@warmcat.com>2011-03-08 11:08:49 +0000
committerNicolas Pitre <nicolas.pitre@linaro.org>2011-03-27 21:53:37 -0400
commit3293bcf2387a773f273cf8744d33383eb7ab3e8b (patch)
tree6d697a5e78550f55e1054f5cddcc623f98d96758 /include/linux
parent2f05e13bb6813ffe465056fccef18363b49f34b7 (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: Nicolas Pitre <nicolas.pitre@linaro.org>
Diffstat (limited to 'include/linux')
-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);