diff options
Diffstat (limited to 'drivers/serial/serial_ar933x.c')
-rw-r--r-- | drivers/serial/serial_ar933x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/serial_ar933x.c b/drivers/serial/serial_ar933x.c index 9de94b69bd..382c3b3d34 100644 --- a/drivers/serial/serial_ar933x.c +++ b/drivers/serial/serial_ar933x.c @@ -150,7 +150,7 @@ static int ar933x_serial_probe(struct udevice *dev) fdt_addr_t addr; u32 val; - addr = dev_read_addr(dev); + addr = devfdt_get_addr(dev); if (addr == FDT_ADDR_T_NONE) return -EINVAL; |