提交 62f730ff 编写于 作者: K Kim Phillips 提交者: Tom Rini

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: NKim Phillips <kim.phillips@freescale.com>
Acked-by: NHeiko Schocher <hs@denx.de>
上级 186fc4db
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册