mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
fsl_i2c: Fix compile warning
fsl_i2c.c: In function 'i2c_init': fsl_i2c.c:245:7: warning: assignment discards qualifiers from pointer target type Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
parent
5721385b18
commit
aa5512157b
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ unsigned int get_i2c_clock(int bus)
|
|||
void
|
||||
i2c_init(int speed, int slaveadd)
|
||||
{
|
||||
struct fsl_i2c *dev;
|
||||
const struct fsl_i2c *dev;
|
||||
unsigned int temp;
|
||||
int bus_num, i;
|
||||
|
||||
|
|
Loading…
Reference in a new issue