Skip to content

Commit

Permalink
[ARM] pxa/magician: fix htc-egpio resource size
Browse files Browse the repository at this point in the history
Fixes an off-by-one error.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
  • Loading branch information
Philipp Zabel authored and Eric Miao committed Mar 9, 2009
1 parent abcea2c commit 2380461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-pxa/magician.c
Original file line number Diff line number Diff line change
Expand Up @@ -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] = {
Expand Down

0 comments on commit 2380461

Please sign in to comment.