aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/host/xhci-fsl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/xhci-fsl.c')
-rw-r--r--drivers/usb/host/xhci-fsl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-fsl.c b/drivers/usb/host/xhci-fsl.c
index 3a16624713b..f77c78d4221 100644
--- a/drivers/usb/host/xhci-fsl.c
+++ b/drivers/usb/host/xhci-fsl.c
@@ -122,7 +122,7 @@ static int xhci_fsl_probe(struct udevice *dev)
/*
* Get the base address for XHCI controller from the device node
*/
- priv->hcd_base = dev_get_addr(dev);
+ priv->hcd_base = devfdt_get_addr(dev);
if (priv->hcd_base == FDT_ADDR_T_NONE) {
debug("Can't get the XHCI register base address\n");
return -ENXIO;