aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc/tangier_sdhci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/tangier_sdhci.c')
-rw-r--r--drivers/mmc/tangier_sdhci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/tangier_sdhci.c b/drivers/mmc/tangier_sdhci.c
index 0d6e5d62460..879e2c98a21 100644
--- a/drivers/mmc/tangier_sdhci.c
+++ b/drivers/mmc/tangier_sdhci.c
@@ -35,7 +35,7 @@ static int sdhci_tangier_probe(struct udevice *dev)
fdt_addr_t base;
int ret;
- base = devfdt_get_addr(dev);
+ base = dev_read_addr(dev);
if (base == FDT_ADDR_T_NONE)
return -EINVAL;