• Arnd Bergmann's avatar
    ARM: imx: use __iomem pointers for MMIO · f25d696a
    Arnd Bergmann authored
    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: default avatarArnd Bergmann <arnd@arndb.de>
    Cc: Sascha Hauer <kernel@pengutronix.de>
    Cc: Shawn Guo <shawn.guo@linaro.org>
    f25d696a
mx31.h 8.49 KB