mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 22:51:37 +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
|
void
|
||||||
i2c_init(int speed, int slaveadd)
|
i2c_init(int speed, int slaveadd)
|
||||||
{
|
{
|
||||||
struct fsl_i2c *dev;
|
const struct fsl_i2c *dev;
|
||||||
unsigned int temp;
|
unsigned int temp;
|
||||||
int bus_num, i;
|
int bus_num, i;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue