treewide: convert devfdt_get_addr() to dev_read_addr()
[platform/kernel/u-boot.git] / drivers / usb / host / xhci-mvebu.c
index 5fb7484..f2e338f 100644 (file)
@@ -72,7 +72,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 = devfdt_get_addr(dev);
+       plat->hcd_base = dev_read_addr(dev);
        if (plat->hcd_base == FDT_ADDR_T_NONE) {
                debug("Can't get the XHCI register base address\n");
                return -ENXIO;