From: Andy Green Date: Mon, 30 May 2011 14:43:05 +0000 (-0700) Subject: I2C: OMAP: add rev to omap i2c platform data X-Git-Tag: upstream/snapshot3+hdmi~8860^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5c825ee202d0891269e29197d5b21f8e2be3498a;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git I2C: OMAP: add rev to omap i2c platform data We need to pass the I2C IP revision from the hwmod class up into the OMAP I2C driver, which does not have direct access to it. This adds a member to the platform data the OMAP I2C driver does use already to hold the I2C IP revision. 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 0aa0cbd..55eac25 100644 --- a/include/linux/i2c-omap.h +++ b/include/linux/i2c-omap.h @@ -32,6 +32,7 @@ struct omap_i2c_bus_platform_data { u32 clkrate; + u32 rev; void (*set_mpu_wkup_lat)(struct device *dev, long set); int (*device_enable) (struct platform_device *pdev); int (*device_shutdown) (struct platform_device *pdev);