|
@@ -964,7 +964,7 @@ static int __devinit au1xmmc_probe(struct platform_device *pdev)
|
|
goto out1;
|
|
goto out1;
|
|
}
|
|
}
|
|
|
|
|
|
- host->ioarea = request_mem_region(r->start, r->end - r->start + 1,
|
|
|
|
|
|
+ host->ioarea = request_mem_region(r->start, resource_size(r),
|
|
pdev->name);
|
|
pdev->name);
|
|
if (!host->ioarea) {
|
|
if (!host->ioarea) {
|
|
dev_err(&pdev->dev, "mmio already in use\n");
|
|
dev_err(&pdev->dev, "mmio already in use\n");
|