On Fri, Aug 27, 2010 at 9:26 PM, Matt Fleming <matt@xxxxxxxxxxxxxxxxx> wrote: > [Adding maintainer to CC] > > On Fri, Aug 27, 2010 at 08:11:34PM +0100, Chris Ball wrote: >> From: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx> >> Date: Mon, 14 Dec 2009 14:28:06 -0500 >> >> Use resource_size(). >> >> Signed-off-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx> >> [cjb: rebased patch against Linus] >> Signed-off-by: Chris Ball <cjb@xxxxxxxxxx> >> --- >> 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 c8da5d3..e14b866 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) >> 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); >> if (!host->ioarea) { >> dev_err(&pdev->dev, "mmio already in use\n"); Wasn't that posted ages ago? I'm fine with it. Acked-by: Manuel Lauss <manuel.lauss@xxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html