ColdFire: Fix compilation issue caused by new changes in fsl_i2c.c
authorTsiChung Liew <Tsi-Chung.Liew@freescale.com>
Wed, 30 Apr 2008 17:10:47 +0000 (12:10 -0500)
committerWolfgang Denk <wd@denx.de>
Wed, 30 Apr 2008 20:37:36 +0000 (22:37 +0200)
Signed-off-by: Luigi Comio Mantellini <luigi.mantellini@idf-hit.com>
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
include/asm-m68k/global_data.h

index 958736ec709d9131b8237dfa8bdd977b71ccfcd8..c897f2b2a856078f165a9573bfdcb13e1698506f 100644 (file)
@@ -46,6 +46,10 @@ typedef      struct  global_data {
        unsigned long   inp_clk;
        unsigned long   vco_clk;
        unsigned long   flb_clk;
+#endif
+#ifdef CONFIG_FSL_I2C
+       unsigned long   i2c1_clk;
+       unsigned long   i2c2_clk;
 #endif
        unsigned long   ram_size;       /* RAM size */
        unsigned long   reloc_off;      /* Relocation Offset */