aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Green <andy@warmcat.com>2011-05-30 10:43:05 -0400
committerBen Dooks <ben-linux@fluff.org>2011-10-29 04:37:07 -0400
commit5c825ee202d0891269e29197d5b21f8e2be3498a (patch)
tree085d3865307fff7b9a71fcf77aabc589c66cc06f
parentb88530884141e977b3702d8e82de52e553b45876 (diff)
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 <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 0aa0cbd676f7..55eac259a451 100644
--- a/include/linux/i2c-omap.h
+++ b/include/linux/i2c-omap.h
@@ -32,6 +32,7 @@
32 32
33struct omap_i2c_bus_platform_data { 33struct omap_i2c_bus_platform_data {
34 u32 clkrate; 34 u32 clkrate;
35 u32 rev;
35 void (*set_mpu_wkup_lat)(struct device *dev, long set); 36 void (*set_mpu_wkup_lat)(struct device *dev, long set);
36 int (*device_enable) (struct platform_device *pdev); 37 int (*device_enable) (struct platform_device *pdev);
37 int (*device_shutdown) (struct platform_device *pdev); 38 int (*device_shutdown) (struct platform_device *pdev);