From: Kim Phillips Date: Mon, 23 Feb 2009 16:43:52 -0600 Subject: [U-Boot] [PATCH 4/9 v3] 83xx, i2c: add mux support for fsl_i2c In-Reply-To: <499D87A9.3060004@denx.de> References: <499D87A9.3060004@denx.de> Message-ID: <20090223164352.31f115d2.kim.phillips@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 19 Feb 2009 17:24:09 +0100 Heiko Schocher wrote: > Signed-off-by: Heiko Schocher > --- > drivers/i2c/fsl_i2c.c | 24 +++++++++++++++++++++++- > 1 files changed, 23 insertions(+), 1 deletions(-) > > diff --git a/drivers/i2c/fsl_i2c.c b/drivers/i2c/fsl_i2c.c > index ce646fd..5242884 100644 > --- a/drivers/i2c/fsl_i2c.c > +++ b/drivers/i2c/fsl_i2c.c > @@ -42,6 +42,7 @@ DECLARE_GLOBAL_DATA_PTR; > #define CONFIG_SYS_SPD_BUS_NUM 0 > #endif > static unsigned int i2c_bus_num __attribute__ ((section (".data"))) = CONFIG_SYS_SPD_BUS_NUM; > +static unsigned int i2c_bus_num_mux __attribute__ ((section ("data"))) = 0; also, this line gets this from the compiler: fsl_i2c.c:45: warning: 'i2c_bus_num_mux' defined but not used Kim