dect
/
linux-2.6
Archived
13
0
Fork 0

[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>
This commit is contained in:
Philipp Zabel 2009-02-09 17:34:05 +01:00 committed by Eric Miao
parent abcea2c322
commit 2380461423
1 changed files with 1 additions and 1 deletions

View File

@ -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] = {