omap: i2c: Fix muxing for command line enabled bus
commit9833eff3d7db76d2d04f28567ed8704d69e225ae
authorJarkko Nikula <jhnikula@gmail.com>
Mon, 22 Feb 2010 20:29:36 +0000 (22 20:29 +0000)
committerTony Lindgren <tony@atomide.com>
Thu, 25 Feb 2010 22:45:08 +0000 (25 14:45 -0800)
treed28dbe65312a00ad58d733425941dc38e6d4b5f6
parentb610ec502376d915b76a62e22576c5d0462cc9c9
omap: i2c: Fix muxing for command line enabled bus

The commit b63128e81214cc2db2995d690438055c26d213a5 broke the pin muxing
for I2C busses that are enabled from the kernel command line.

Fix this by defining the board registration function omap_register_i2c_bus
in common platform code as it was before but keep the muxing in architecture
dependent files.

Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/i2c.c
arch/arm/mach-omap2/i2c.c
arch/arm/plat-omap/i2c.c
arch/arm/plat-omap/include/plat/i2c.h