aboutsummaryrefslogtreecommitdiff
path: root/drivers/serial/serial_ar933x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial/serial_ar933x.c')
-rw-r--r--drivers/serial/serial_ar933x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/serial_ar933x.c b/drivers/serial/serial_ar933x.c
index aae66dc682b..09d2efefdf4 100644
--- a/drivers/serial/serial_ar933x.c
+++ b/drivers/serial/serial_ar933x.c
@@ -149,7 +149,7 @@ static int ar933x_serial_probe(struct udevice *dev)
fdt_addr_t addr;
u32 val;
- addr = dev_get_addr(dev);
+ addr = devfdt_get_addr(dev);
if (addr == FDT_ADDR_T_NONE)
return -EINVAL;