From: Arnd Bergmann Date: Fri, 14 Sep 2012 20:19:04 +0000 (+0000) Subject: ARM: iop32x: use __iomem pointers for MMIO X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3c65c6bac723dc0f418d50de9b2ba8b52ff79f2d;p=linux-beck.git ARM: iop32x: use __iomem pointers for MMIO ARM is moving to stricter checks on readl/write functions, so we need to use the correct types everywhere. Cc: Imre Kaloz Cc: Krzysztof Halasa Cc: Lennert Buytenhek Signed-off-by: Arnd Bergmann --- diff --git a/arch/arm/mach-iop32x/glantank.c b/arch/arm/mach-iop32x/glantank.c index c15a100ba779..02e20c3912ba 100644 --- a/arch/arm/mach-iop32x/glantank.c +++ b/arch/arm/mach-iop32x/glantank.c @@ -183,7 +183,7 @@ static struct i2c_board_info __initdata glantank_i2c_devices[] = { static void glantank_power_off(void) { - __raw_writeb(0x01, 0xfe8d0004); + __raw_writeb(0x01, IOMEM(0xfe8d0004)); while (1) ;