]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/mmc/socfpga_dw_mmc.c
Merge git://git.denx.de/u-boot-mmc
[people/ms/u-boot.git] / drivers / mmc / socfpga_dw_mmc.c
index d0c3c5155a01628bc6c3b363551d88c480bbb246..759686ccd63ec082c66acda7a923548c29509b6d 100644 (file)
@@ -78,7 +78,7 @@ static int socfpga_dwmmc_ofdata_to_platdata(struct udevice *dev)
        }
 
        host->name = dev->name;
-       host->ioaddr = (void *)dev_get_addr(dev);
+       host->ioaddr = (void *)devfdt_get_addr(dev);
        host->buswidth = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev),
                                        "bus-width", 4);
        host->clksel = socfpga_dwmci_clksel;