aboutsummaryrefslogtreecommitdiff
path: root/drivers/serial/serial_mcf.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial/serial_mcf.c')
-rw-r--r--drivers/serial/serial_mcf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/serial_mcf.c b/drivers/serial/serial_mcf.c
index b599064b488..402fd5343c1 100644
--- a/drivers/serial/serial_mcf.c
+++ b/drivers/serial/serial_mcf.c
@@ -145,7 +145,7 @@ static int coldfire_ofdata_to_platdata(struct udevice *dev)
struct coldfire_serial_platdata *plat = dev_get_platdata(dev);
fdt_addr_t addr_base;
- addr_base = devfdt_get_addr(dev);
+ addr_base = dev_read_addr(dev);
if (addr_base == FDT_ADDR_T_NONE)
return -ENODEV;