I2C: OMAP: add rev to omap i2c platform data
authorAndy Green <andy@warmcat.com>
Mon, 14 Mar 2011 17:29:17 +0000 (10:29 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 14 Mar 2011 17:29:17 +0000 (10:29 -0700)
commit8c2877b6e811c354cafa7df88ec16cdb3aed848c
tree318eb162b6157fac79c7e5a9093f70cc38b91a80
parent3d747caa026778ef77c5333ba2efe091c7c36d67
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
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>
include/linux/i2c-omap.h