summaryrefslogtreecommitdiffstats
path: root/drivers/serial/serial_meson.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial/serial_meson.c')
-rw-r--r--drivers/serial/serial_meson.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/serial_meson.c b/drivers/serial/serial_meson.c
index 1b494265ce..363affb8c5 100644
--- a/drivers/serial/serial_meson.c
+++ b/drivers/serial/serial_meson.c
@@ -108,7 +108,7 @@ static int meson_serial_ofdata_to_platdata(struct udevice *dev)
struct meson_serial_platdata *plat = dev->platdata;
fdt_addr_t addr;
- addr = dev_get_addr(dev);
+ addr = devfdt_get_addr(dev);
if (addr == FDT_ADDR_T_NONE)
return -EINVAL;