]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/usb/host/xhci-mvebu.c
dm: Rename dev_addr..() functions
[people/ms/u-boot.git] / drivers / usb / host / xhci-mvebu.c
index d880af1113131b7ed96c8ecfb274fddea0751849..b9201a5a6a3fd0c6e8f109c85311bfda3cc1680e 100644 (file)
@@ -74,7 +74,7 @@ static int xhci_usb_ofdata_to_platdata(struct udevice *dev)
        /*
         * Get the base address for XHCI controller from the device node
         */
-       plat->hcd_base = dev_get_addr(dev);
+       plat->hcd_base = devfdt_get_addr(dev);
        if (plat->hcd_base == FDT_ADDR_T_NONE) {
                debug("Can't get the XHCI register base address\n");
                return -ENXIO;