]> git.karo-electronics.de Git - karo-tx-linux.git/commit
I2C: OMAP1: set IP revision in platform data
authorAndy Green <andy@warmcat.com>
Mon, 30 May 2011 14:43:06 +0000 (07:43 -0700)
committerBen Dooks <ben-linux@fluff.org>
Wed, 14 Sep 2011 21:19:09 +0000 (22:19 +0100)
commitdf48f80fdab2c0e507c256cb31b310ac33565d63
treed2c52e256158ed923efb376d10ff62f35dbd2fa3
parentca6037b61747dd7ba4ca276e20cc02d864dc0d69
I2C: OMAP1: set IP revision in platform data

All OMAP1 are using "IP revision 1" in terms of register
layout.  We set this information in omap1_i2c_add_bus() so
we don't have to use cpu_is_xxx() any more in the omap i2c
driver.

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>
arch/arm/plat-omap/i2c.c