diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2011-03-20 06:17:59 +0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-03-23 17:08:14 +0300 |
commit | 5d18724588a4f632e836357a43b33bf4b538af82 (patch) | |
tree | 8083f364e43f73193a05bbf1a388f95a570d449a /arch/arm/plat-mxc/devices/platform-imxdi_rtc.c | |
parent | 65047a0f695ed975855e9b83bb922ecb1ff250ab (diff) | |
download | linux-5d18724588a4f632e836357a43b33bf4b538af82.tar.xz |
ARM: mxc: fix buggy '.end' of IORESOURCE_MEM in device codes
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/devices/platform-imxdi_rtc.c')
-rw-r--r-- | arch/arm/plat-mxc/devices/platform-imxdi_rtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-mxc/devices/platform-imxdi_rtc.c b/arch/arm/plat-mxc/devices/platform-imxdi_rtc.c index 10653cc8d1fa..805336fdc252 100644 --- a/arch/arm/plat-mxc/devices/platform-imxdi_rtc.c +++ b/arch/arm/plat-mxc/devices/platform-imxdi_rtc.c @@ -27,7 +27,7 @@ struct platform_device *__init imx_add_imxdi_rtc( struct resource res[] = { { .start = data->iobase, - .end = data->iobase + SZ_16K, + .end = data->iobase + SZ_16K - 1, .flags = IORESOURCE_MEM, }, { .start = data->irq, |