Merge branch 'master' of git://git.denx.de/u-boot-i2c
[kernel/u-boot.git] / arch / m68k / cpu / mcf5445x / speed.c
index 594716b..07a9b35 100644 (file)
@@ -257,7 +257,7 @@ void setup_5445x_clocks(void)
 #endif
        }
 
-#ifdef CONFIG_FSL_I2C
+#ifdef CONFIG_SYS_I2C_FSL
        gd->arch.i2c1_clk = gd->bus_clk;
 #endif
 }
@@ -273,7 +273,7 @@ int get_clocks(void)
        setup_5445x_clocks();
 #endif
 
-#ifdef CONFIG_FSL_I2C
+#ifdef CONFIG_SYS_FSL_I2C
        gd->arch.i2c1_clk = gd->bus_clk;
 #endif