aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc/aspeed_sdhci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/aspeed_sdhci.c')
-rw-r--r--drivers/mmc/aspeed_sdhci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/aspeed_sdhci.c b/drivers/mmc/aspeed_sdhci.c
index 543c65a8e35..8929e603f33 100644
--- a/drivers/mmc/aspeed_sdhci.c
+++ b/drivers/mmc/aspeed_sdhci.c
@@ -34,7 +34,7 @@ static int aspeed_sdhci_probe(struct udevice *dev)
goto free;
host->name = dev->name;
- host->ioaddr = dev_read_addr_ptr(dev);
+ host->ioaddr = (void *)devfdt_get_addr(dev);
max_clk = clk_get_rate(&clk);
if (IS_ERR_VALUE(max_clk)) {