mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02: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:
committed by
Heiko Schocher
parent
5721385b18
commit
aa5512157b
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user