diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-09-14 16:19:04 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-09-19 09:16:02 -0400 |
commit | 3c65c6bac723dc0f418d50de9b2ba8b52ff79f2d (patch) | |
tree | 8aabd43cfcd64c6d8c7fd8a091eb4ffdd0294d25 /arch/arm/mach-iop32x | |
parent | abf2ba152f5aa31ee56a63b28b04a76d8def6366 (diff) |
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 <kaloz@openwrt.org>
Cc: Krzysztof Halasa <khc@pm.waw.pl>
Cc: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-iop32x')
-rw-r--r-- | arch/arm/mach-iop32x/glantank.c | 2 |
1 files changed, 1 insertions, 1 deletions
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[] = { | |||
183 | 183 | ||
184 | static void glantank_power_off(void) | 184 | static void glantank_power_off(void) |
185 | { | 185 | { |
186 | __raw_writeb(0x01, 0xfe8d0004); | 186 | __raw_writeb(0x01, IOMEM(0xfe8d0004)); |
187 | 187 | ||
188 | while (1) | 188 | while (1) |
189 | ; | 189 | ; |