From: Andy Green Date: Mon, 30 May 2011 14:43:08 +0000 (-0700) Subject: I2C: OMAP1/OMAP2+: add flags field to omap i2c platform data X-Git-Tag: next-20110915~67^2~9 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=dd01d1e017bf19afca527c6f7f2cfd5e72c2f203;p=karo-tx-linux.git 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 Signed-off-by: Andy Green Signed-off-by: Tony Lindgren Acked-by: Ben Dooks Signed-off-by: Kevin Hilman --- 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 @@ 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);