diff options
Diffstat (limited to 'drivers/i2c/mxc_i2c.c')
| -rw-r--r-- | drivers/i2c/mxc_i2c.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index 1a1de672524..3b0d27e6cdb 100644 --- a/drivers/i2c/mxc_i2c.c +++ b/drivers/i2c/mxc_i2c.c @@ -899,7 +899,7 @@ static int mxc_i2c_probe(struct udevice *bus)  	i2c_bus->driver_data = dev_get_driver_data(bus); -	addr = dev_read_addr(bus); +	addr = devfdt_get_addr(bus);  	if (addr == FDT_ADDR_T_NONE)  		return -EINVAL; | 
