summaryrefslogtreecommitdiff
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 77b18e75f0..bafe85bf64 100644
--- a/drivers/mmc/tangier_sdhci.c
+++ b/drivers/mmc/tangier_sdhci.c
@@ -36,7 +36,7 @@ static int sdhci_tangier_probe(struct udevice *dev)
fdt_addr_t base;
int ret;
- base = dev_get_addr(dev);
+ base = devfdt_get_addr(dev);
if (base == FDT_ADDR_T_NONE)
return -EINVAL;