]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: imx: use __iomem pointers for MMIO
authorArnd Bergmann <arnd@arndb.de>
Fri, 14 Sep 2012 20:14:01 +0000 (20:14 +0000)
committerArnd Bergmann <arnd@arndb.de>
Wed, 19 Sep 2012 13:11:53 +0000 (15:11 +0200)
commit56e3a310ebb7b8f9886d06328cb5474a8bdfde0a
tree365255d4a475b2479200c314725d79efff0e9fb7
parent41c14bca026419cc49f7126972ff3a45db1f8c4a
ARM: imx: use __iomem pointers for MMIO

ARM is moving to stricter checks on readl/write functions,
so we need to use the correct types everywhere.

This found a bug in mach-armadillo5x0.c, where we attempt mmio
on the MXC_CCM_RCSR address that is currently defined to 0xc
and consequently causes an illegal address access.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/mach-kzm_arm11_01.c
arch/arm/mach-imx/mach-mx31ads.c
arch/arm/mach-imx/mach-mx31lite.c
arch/arm/plat-mxc/include/mach/mx31.h