Merge branch 'master' of git://git.denx.de/u-boot-i2c
[kernel/u-boot.git] / arch / m68k / cpu / mcf523x / speed.c
index 5abd771..a4aa05b 100644 (file)
@@ -31,7 +31,7 @@ int get_clocks(void)
        gd->bus_clk = CONFIG_SYS_CLK;
        gd->cpu_clk = (gd->bus_clk * 2);
 
-#ifdef CONFIG_FSL_I2C
+#ifdef CONFIG_SYS_I2C_FSL
        gd->arch.i2c1_clk = gd->bus_clk;
 #endif