aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1/i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap1/i2c.c')
-rw-r--r--arch/arm/mach-omap1/i2c.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mach-omap1/i2c.c b/arch/arm/mach-omap1/i2c.c
index 1bf4735e27a6..5446c9912641 100644
--- a/arch/arm/mach-omap1/i2c.c
+++ b/arch/arm/mach-omap1/i2c.c
@@ -23,9 +23,7 @@
23#include <plat/mux.h> 23#include <plat/mux.h>
24#include <plat/cpu.h> 24#include <plat/cpu.h>
25 25
26int __init omap_register_i2c_bus(int bus_id, u32 clkrate, 26void __init omap1_i2c_mux_pins(int bus_id)
27 struct i2c_board_info const *info,
28 unsigned len)
29{ 27{
30 if (cpu_is_omap7xx()) { 28 if (cpu_is_omap7xx()) {
31 omap_cfg_reg(I2C_7XX_SDA); 29 omap_cfg_reg(I2C_7XX_SDA);
@@ -34,6 +32,4 @@ int __init omap_register_i2c_bus(int bus_id, u32 clkrate,
34 omap_cfg_reg(I2C_SDA); 32 omap_cfg_reg(I2C_SDA);
35 omap_cfg_reg(I2C_SCL); 33 omap_cfg_reg(I2C_SCL);
36 } 34 }
37
38 return omap_plat_register_i2c_bus(bus_id, clkrate, info, len);
39} 35}