mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 05:48:40 +00:00
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>
This commit is contained in:
parent
abf2ba152f
commit
3c65c6bac7
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
;
|
||||
|
|
Loading…
Reference in a new issue