diff options
Diffstat (limited to 'drivers/mmc/host')
-rw-r--r-- | drivers/mmc/host/au1xmmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/au1xmmc.c b/drivers/mmc/host/au1xmmc.c index c8da5d30a861..e14b866b270f 100644 --- a/drivers/mmc/host/au1xmmc.c +++ b/drivers/mmc/host/au1xmmc.c | |||
@@ -964,7 +964,7 @@ static int __devinit au1xmmc_probe(struct platform_device *pdev) | |||
964 | goto out1; | 964 | goto out1; |
965 | } | 965 | } |
966 | 966 | ||
967 | host->ioarea = request_mem_region(r->start, r->end - r->start + 1, | 967 | host->ioarea = request_mem_region(r->start, resource_size(r), |
968 | pdev->name); | 968 | pdev->name); |
969 | if (!host->ioarea) { | 969 | if (!host->ioarea) { |
970 | dev_err(&pdev->dev, "mmio already in use\n"); | 970 | dev_err(&pdev->dev, "mmio already in use\n"); |