]> git.sur5r.net Git - u-boot/blobdiff - drivers/usb/host/ehci-atmel.c
dm: Rename dev_addr..() functions
[u-boot] / drivers / usb / host / ehci-atmel.c
index a5c6d349747ff247139bca0278f4ad37de6c2e23..f6c6b019caa8c93a00e501a90db59486dd758ed5 100644 (file)
@@ -96,7 +96,7 @@ static int ehci_atmel_probe(struct udevice *dev)
        /*
         * Get the base address for EHCI controller from the device node
         */
-       hcd_base = dev_get_addr(dev);
+       hcd_base = devfdt_get_addr(dev);
        if (hcd_base == FDT_ADDR_T_NONE) {
                debug("Can't get the EHCI register base address\n");
                return -ENXIO;