Commit 3c65c6ba authored by Arnd Bergmann's avatar Arnd Bergmann

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: default avatarArnd Bergmann <arnd@arndb.de>
parent abf2ba15
...@@ -183,7 +183,7 @@ static struct i2c_board_info __initdata glantank_i2c_devices[] = { ...@@ -183,7 +183,7 @@ static struct i2c_board_info __initdata glantank_i2c_devices[] = {
static void glantank_power_off(void) static void glantank_power_off(void)
{ {
__raw_writeb(0x01, 0xfe8d0004); __raw_writeb(0x01, IOMEM(0xfe8d0004));
while (1) while (1)
; ;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment