summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ehci-marvell.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/ehci-marvell.c')
-rw-r--r--drivers/usb/host/ehci-marvell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-marvell.c b/drivers/usb/host/ehci-marvell.c
index 8fe685af26..62414bb110 100644
--- a/drivers/usb/host/ehci-marvell.c
+++ b/drivers/usb/host/ehci-marvell.c
@@ -109,7 +109,7 @@ static int ehci_mvebu_probe(struct udevice *dev)
/*
* Get the base address for EHCI controller from the device node
*/
- priv->hcd_base = devfdt_get_addr(dev);
+ priv->hcd_base = dev_read_addr(dev);
if (priv->hcd_base == FDT_ADDR_T_NONE) {
debug("Can't get the EHCI register base address\n");
return -ENXIO;