]> git.karo-electronics.de Git - karo-tx-linux.git/commit
I2C: OMAP: add rev to omap i2c platform data
authorAndy Green <andy@warmcat.com>
Mon, 30 May 2011 14:43:05 +0000 (07:43 -0700)
committerBen Dooks <ben-linux@fluff.org>
Wed, 14 Sep 2011 21:19:09 +0000 (22:19 +0100)
commitca6037b61747dd7ba4ca276e20cc02d864dc0d69
treeb9c2354d7c035973b129e15172f5d490e8b983c9
parent40440dda5770a3e3359ed60805f98dd17d254256
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>
include/linux/i2c-omap.h