]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/mmc/sti_sdhci.c
dm: Rename dev_addr..() functions
[people/ms/u-boot.git] / drivers / mmc / sti_sdhci.c
index 2a07082036456207fb674febaefd9bb826da421f..f85f6b4db617ba1441e19e24a7c2ab8a6da5acad 100644 (file)
@@ -108,7 +108,7 @@ static int sti_sdhci_ofdata_to_platdata(struct udevice *dev)
        struct sdhci_host *host = dev_get_priv(dev);
 
        host->name = strdup(dev->name);
-       host->ioaddr = (void *)dev_get_addr(dev);
+       host->ioaddr = (void *)devfdt_get_addr(dev);
 
        host->bus_width = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev),
                                         "bus-width", 4);