diff options
author | Jarkko Nikula <jhnikula@gmail.com> | 2010-02-22 20:29:36 +0000 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-02-25 14:45:08 -0800 |
commit | 9833eff3d7db76d2d04f28567ed8704d69e225ae (patch) | |
tree | d28dbe65312a00ad58d733425941dc38e6d4b5f6 /arch/arm/plat-omap/include | |
parent | b610ec502376d915b76a62e22576c5d0462cc9c9 (diff) | |
download | op-kernel-dev-9833eff3d7db76d2d04f28567ed8704d69e225ae.zip op-kernel-dev-9833eff3d7db76d2d04f28567ed8704d69e225ae.tar.gz |
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>
Diffstat (limited to 'arch/arm/plat-omap/include')
-rw-r--r-- | arch/arm/plat-omap/include/plat/i2c.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/plat-omap/include/plat/i2c.h b/arch/arm/plat-omap/include/plat/i2c.h index 585d9ca..87f6bf2 100644 --- a/arch/arm/plat-omap/include/plat/i2c.h +++ b/arch/arm/plat-omap/include/plat/i2c.h @@ -34,6 +34,5 @@ static inline int omap_register_i2c_bus(int bus_id, u32 clkrate, } #endif -int omap_plat_register_i2c_bus(int bus_id, u32 clkrate, - struct i2c_board_info const *info, - unsigned len); +void __init omap1_i2c_mux_pins(int bus_id); +void __init omap2_i2c_mux_pins(int bus_id); |