omap: Fix i2c platform init code for omap4
authorTony Lindgren <tony@atomide.com>
Thu, 20 May 2010 18:36:43 +0000 (11:36 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 20 May 2010 18:36:43 +0000 (11:36 -0700)
commitb32dd41ed645c22ac3ce4e25bcbd7eee30297292
tree6a1724615611ca78effc76cdce1f9ecd44b4dfc3
parent20c9d2c4ab8243a1c311248232954b2c1da3ba75
omap: Fix i2c platform init code for omap4

Add separate omap_i2c_add_bus functions for mach-omap1
and mach-omap2. Make the mach-omap2 init set the interrupt
dynamically to support.

This is needed to add support for omap4 in a way that
works with multi-omap builds. This will eventually get
fixed in a generic way with the omap hwmods.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/i2c.c