[PATCH 09/12] ARM: at91: irq_fixup: Use __iomem specifier for memory pointer
Alexander Shiyan
shc_work at mail.ru
Sat Jan 25 14:34:25 EST 2014
Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
---
arch/arm/mach-at91/irq_fixup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-at91/irq_fixup.c b/arch/arm/mach-at91/irq_fixup.c
index a9eebd7..9815ac2 100644
--- a/arch/arm/mach-at91/irq_fixup.c
+++ b/arch/arm/mach-at91/irq_fixup.c
@@ -15,7 +15,7 @@
*/
void at91_rtt_irq_fixup(void *base)
{
- void *reg = base + AT91_RTT_MR;
+ void __iomem *reg = base + AT91_RTT_MR;
u32 mr = readl(reg);
writel(mr & ~(AT91_RTT_ALMIEN | AT91_RTT_RTTINCIEN), reg);
--
1.8.3.2
More information about the barebox
mailing list