瀏覽代碼

ColdFire: Fix compilation issue caused by new changes in fsl_i2c.c

Signed-off-by: Luigi Comio Mantellini <luigi.mantellini@idf-hit.com>
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
TsiChung Liew 17 年之前
父節點
當前提交
886d90176f
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      include/asm-m68k/global_data.h

+ 4 - 0
include/asm-m68k/global_data.h

@@ -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 */