summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-realview/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/arch-realview/system.h')
-rw-r--r--include/asm-arm/arch-realview/system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-arm/arch-realview/system.h b/include/asm-arm/arch-realview/system.h
index 9f8fcbc..6f3d0ce 100644
--- a/include/asm-arm/arch-realview/system.h
+++ b/include/asm-arm/arch-realview/system.h
@@ -36,7 +36,7 @@ static inline void arch_idle(void)
static inline void arch_reset(char mode)
{
- unsigned int hdr_ctrl = (IO_ADDRESS(REALVIEW_SYS_BASE) + REALVIEW_SYS_RESETCTL_OFFSET);
+ void __iomem *hdr_ctrl = __io_address(REALVIEW_SYS_BASE) + REALVIEW_SYS_RESETCTL_OFFSET;
unsigned int val;
/*
OpenPOWER on IntegriCloud