projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abf2ba1
)
ARM: iop32x: use __iomem pointers for MMIO
author
Arnd Bergmann
<arnd@arndb.de>
Fri, 14 Sep 2012 20:19:04 +0000
(20:19 +0000)
committer
Arnd Bergmann
<arnd@arndb.de>
Wed, 19 Sep 2012 13:16:02 +0000
(15:16 +0200)
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>
arch/arm/mach-iop32x/glantank.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-iop32x/glantank.c
b/arch/arm/mach-iop32x/glantank.c
index
c15a100
..
02e20c3
100644
(file)
--- 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)
;