summaryrefslogtreecommitdiff
path: root/drivers/mmc/bcm2835_sdhost.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/bcm2835_sdhost.c')
-rw-r--r--drivers/mmc/bcm2835_sdhost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/bcm2835_sdhost.c b/drivers/mmc/bcm2835_sdhost.c
index c4876e81f8..b793028ab5 100644
--- a/drivers/mmc/bcm2835_sdhost.c
+++ b/drivers/mmc/bcm2835_sdhost.c
@@ -766,7 +766,7 @@ static int bcm2835_probe(struct udevice *dev)
upriv->mmc = &plat->mmc;
plat->cfg.name = dev->name;
- host->phys_addr = devfdt_get_addr(dev);
+ host->phys_addr = dev_read_addr(dev);
if (host->phys_addr == FDT_ADDR_T_NONE)
return -EINVAL;