summaryrefslogtreecommitdiff
path: root/drivers/mmc/snps_dw_mmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/snps_dw_mmc.c')
-rw-r--r--drivers/mmc/snps_dw_mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/snps_dw_mmc.c b/drivers/mmc/snps_dw_mmc.c
index c606ef011b..4b468a1f3d 100644
--- a/drivers/mmc/snps_dw_mmc.c
+++ b/drivers/mmc/snps_dw_mmc.c
@@ -83,7 +83,7 @@ static int snps_dwmmc_ofdata_to_platdata(struct udevice *dev)
u32 fifo_depth;
int ret;
- host->ioaddr = devfdt_get_addr_ptr(dev);
+ host->ioaddr = dev_read_addr_ptr(dev);
/*
* If fifo-depth is unset don't set fifoth_val - we will try to