aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/i2c.c')
-rw-r--r--arch/arm/mach-omap2/i2c.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/i2c.c b/arch/arm/mach-omap2/i2c.c
index 789ca8c02f0c..7951ae1447ee 100644
--- a/arch/arm/mach-omap2/i2c.c
+++ b/arch/arm/mach-omap2/i2c.c
@@ -25,9 +25,7 @@
25 25
26#include "mux.h" 26#include "mux.h"
27 27
28int __init omap_register_i2c_bus(int bus_id, u32 clkrate, 28void __init omap2_i2c_mux_pins(int bus_id)
29 struct i2c_board_info const *info,
30 unsigned len)
31{ 29{
32 if (cpu_is_omap24xx()) { 30 if (cpu_is_omap24xx()) {
33 const int omap24xx_pins[][2] = { 31 const int omap24xx_pins[][2] = {
@@ -51,6 +49,4 @@ int __init omap_register_i2c_bus(int bus_id, u32 clkrate,
51 sprintf(mux_name, "i2c%i_sda.i2c%i_sda", bus_id, bus_id); 49 sprintf(mux_name, "i2c%i_sda.i2c%i_sda", bus_id, bus_id);
52 omap_mux_init_signal(mux_name, OMAP_PIN_INPUT); 50 omap_mux_init_signal(mux_name, OMAP_PIN_INPUT);
53 } 51 }
54
55 return omap_plat_register_i2c_bus(bus_id, clkrate, info, len);
56} 52}