commit | 5d18724588a4f632e836357a43b33bf4b538af82 | [log] [tgz] |
---|---|---|
author | Shawn Guo <[email protected]> | Sun Mar 20 11:17:59 2011 +0800 |
committer | Sascha Hauer <[email protected]> | Wed Mar 23 15:08:14 2011 +0100 |
tree | 8083f364e43f73193a05bbf1a388f95a570d449a | |
parent | 65047a0f695ed975855e9b83bb922ecb1ff250ab [diff] [blame] |
ARM: mxc: fix buggy '.end' of IORESOURCE_MEM in device codes Signed-off-by: Shawn Guo <[email protected]> Acked-by: Wolfram Sang <[email protected]> Acked-by: Uwe Kleine-König <[email protected]> Signed-off-by: Sascha Hauer <[email protected]>
diff --git a/arch/arm/plat-mxc/devices/platform-fec.c b/arch/arm/plat-mxc/devices/platform-fec.c index 6561c9d..ccc789e 100644 --- a/arch/arm/plat-mxc/devices/platform-fec.c +++ b/arch/arm/plat-mxc/devices/platform-fec.c
@@ -53,7 +53,7 @@ struct resource res[] = { { .start = data->iobase, - .end = data->iobase + SZ_4K, + .end = data->iobase + SZ_4K - 1, .flags = IORESOURCE_MEM, }, { .start = data->irq,