From: Kim Phillips Date: Tue, 16 Oct 2012 14:28:43 +0000 (+0000) Subject: drivers/i2c/fsl_i2c.c: sparse fix X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=62f730fffdd2b6e354773fdcb4b4c01262153319;p=u-boot.git drivers/i2c/fsl_i2c.c: sparse fix fsl_i2c.c:217:14: warning: symbol 'get_i2c_clock' was not declared. Should it be static? Signed-off-by: Kim Phillips Acked-by: Heiko Schocher --- diff --git a/drivers/i2c/fsl_i2c.c b/drivers/i2c/fsl_i2c.c index 5b017a910c..3cb232fdd1 100644 --- a/drivers/i2c/fsl_i2c.c +++ b/drivers/i2c/fsl_i2c.c @@ -214,7 +214,7 @@ static unsigned int set_i2c_bus_speed(const struct fsl_i2c *dev, return speed; } -unsigned int get_i2c_clock(int bus) +static unsigned int get_i2c_clock(int bus) { if (bus) return gd->i2c2_clk; /* I2C2 clock */