aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/mxs-mmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/host/mxs-mmc.c')
-rw-r--r--drivers/mmc/host/mxs-mmc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mmc/host/mxs-mmc.c b/drivers/mmc/host/mxs-mmc.c
index 206fe499ded5..5b665551a6f3 100644
--- a/drivers/mmc/host/mxs-mmc.c
+++ b/drivers/mmc/host/mxs-mmc.c
@@ -614,9 +614,9 @@ static int mxs_mmc_probe(struct platform_device *pdev)
614 host = mmc_priv(mmc); 614 host = mmc_priv(mmc);
615 ssp = &host->ssp; 615 ssp = &host->ssp;
616 ssp->dev = &pdev->dev; 616 ssp->dev = &pdev->dev;
617 ssp->base = devm_request_and_ioremap(&pdev->dev, iores); 617 ssp->base = devm_ioremap_resource(&pdev->dev, iores);
618 if (!ssp->base) { 618 if (IS_ERR(ssp->base)) {
619 ret = -EADDRNOTAVAIL; 619 ret = PTR_ERR(ssp->base);
620 goto out_mmc_free; 620 goto out_mmc_free;
621 } 621 }
622 622