Commit 23804614 authored by Philipp Zabel's avatar Philipp Zabel Committed by Eric Miao

[ARM] pxa/magician: fix htc-egpio resource size

Fixes an off-by-one error.
Signed-off-by: default avatarPhilipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: default avatarEric Miao <eric.miao@marvell.com>
parent abcea2c3
...@@ -204,7 +204,7 @@ static struct platform_device gpio_keys = { ...@@ -204,7 +204,7 @@ static struct platform_device gpio_keys = {
static struct resource egpio_resources[] = { static struct resource egpio_resources[] = {
[0] = { [0] = {
.start = PXA_CS3_PHYS, .start = PXA_CS3_PHYS,
.end = PXA_CS3_PHYS + 0x20, .end = PXA_CS3_PHYS + 0x20 - 1,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
}, },
[1] = { [1] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment