projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
186fc4d
)
drivers/i2c/fsl_i2c.c: sparse fix
author
Kim Phillips
<kim.phillips@freescale.com>
Tue, 16 Oct 2012 14:28:43 +0000
(14:28 +0000)
committer
Tom Rini
<trini@ti.com>
Thu, 25 Oct 2012 19:06:21 +0000
(12:06 -0700)
fsl_i2c.c:217:14: warning: symbol 'get_i2c_clock' was not declared. Should it be static?
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Acked-by: Heiko Schocher <hs@denx.de>
drivers/i2c/fsl_i2c.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/fsl_i2c.c
b/drivers/i2c/fsl_i2c.c
index
5b017a9
..
3cb232f
100644
(file)
--- 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 */