From: Philipp Zabel Date: Mon, 9 Feb 2009 16:34:05 +0000 (+0100) Subject: [ARM] pxa/magician: fix htc-egpio resource size X-Git-Tag: v2.6.30-rc1~636^2~51 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=23804614230be43185b7d9b5ef97a8b87375c3cc;p=linux.git [ARM] pxa/magician: fix htc-egpio resource size Fixes an off-by-one error. Signed-off-by: Philipp Zabel Signed-off-by: Eric Miao --- diff --git a/arch/arm/mach-pxa/magician.c b/arch/arm/mach-pxa/magician.c index af464870c129..7fd31235c26e 100644 --- a/arch/arm/mach-pxa/magician.c +++ b/arch/arm/mach-pxa/magician.c @@ -204,7 +204,7 @@ static struct platform_device gpio_keys = { static struct resource egpio_resources[] = { [0] = { .start = PXA_CS3_PHYS, - .end = PXA_CS3_PHYS + 0x20, + .end = PXA_CS3_PHYS + 0x20 - 1, .flags = IORESOURCE_MEM, }, [1] = {