From: Lily Zhang Date: Thu, 14 Apr 2011 05:24:02 +0000 (+0800) Subject: ENGR00142005-1 ARM: imx: srtc: the end address minus 1 X-Git-Tag: v3.0.35-fsl~2424 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=cc342d1a03196c7080899e9b6654b39d7d128727;p=karo-tx-linux.git ENGR00142005-1 ARM: imx: srtc: the end address minus 1 The end address of SRTC device in i.MX platform should be minus 1. Otherwise, it conflicts with the address of LDB device Signed-off-by: Lily Zhang --- diff --git a/arch/arm/plat-mxc/devices/platform-imx_srtc.c b/arch/arm/plat-mxc/devices/platform-imx_srtc.c index 7dd23055f66b..1f27f48f4110 100755 --- a/arch/arm/plat-mxc/devices/platform-imx_srtc.c +++ b/arch/arm/plat-mxc/devices/platform-imx_srtc.c @@ -39,7 +39,7 @@ struct platform_device *__init imx_add_srtc( struct resource res[] = { { .start = data->iobase, - .end = data->iobase + SZ_16K, + .end = data->iobase + SZ_16K - 1, .flags = IORESOURCE_MEM, }, { .start = data->irq,