Skip to content
Snippets Groups Projects
Commit 62f730ff authored by Kim Phillips's avatar Kim Phillips Committed by Tom Rini
Browse files

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: default avatarKim Phillips <kim.phillips@freescale.com>
Acked-by: default avatarHeiko Schocher <hs@denx.de>
parent 186fc4db
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment