diff options
author | Philipp Zabel <philipp.zabel@gmail.com> | 2009-02-09 11:34:05 -0500 |
---|---|---|
committer | Eric Miao <eric.miao@marvell.com> | 2009-03-09 09:22:33 -0400 |
commit | 23804614230be43185b7d9b5ef97a8b87375c3cc (patch) | |
tree | 9ea34fbe48651acc40cfb53d5ec964ca2c0f7438 /arch/arm | |
parent | abcea2c322cef559ef2f108b4763d107a5ccc37f (diff) |
[ARM] pxa/magician: fix htc-egpio resource size
Fixes an off-by-one error.
Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-pxa/magician.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 = { | |||
204 | static struct resource egpio_resources[] = { | 204 | static struct resource egpio_resources[] = { |
205 | [0] = { | 205 | [0] = { |
206 | .start = PXA_CS3_PHYS, | 206 | .start = PXA_CS3_PHYS, |
207 | .end = PXA_CS3_PHYS + 0x20, | 207 | .end = PXA_CS3_PHYS + 0x20 - 1, |
208 | .flags = IORESOURCE_MEM, | 208 | .flags = IORESOURCE_MEM, |
209 | }, | 209 | }, |
210 | [1] = { | 210 | [1] = { |