From 886d90176fc257e0ab4d0db05d11d0749bbed3ca Mon Sep 17 00:00:00 2001
From: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Date: Wed, 30 Apr 2008 12:10:47 -0500
Subject: [PATCH] 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>
---
 include/asm-m68k/global_data.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/asm-m68k/global_data.h b/include/asm-m68k/global_data.h
index 958736ec70..c897f2b2a8 100644
--- a/include/asm-m68k/global_data.h
+++ b/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 */
-- 
GitLab