mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 14:10:43 +00:00
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 <kim.phillips@freescale.com> Acked-by: Heiko Schocher <hs@denx.de>
This commit is contained in:
parent
186fc4db26
commit
62f730fffd
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue