]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Sync mach-omap2/irq.c with mainline
authorTony Lindgren <tony@atomide.com>
Thu, 16 Oct 2008 20:49:10 +0000 (13:49 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 16 Oct 2008 20:49:10 +0000 (13:49 -0700)
Remove now unncessary casts and use the same order for include files.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/irq.c

index 598392649cd28daf3c46894fc22dcd11621aa55b..68aff9ad8d436f25f05347336a0a187cd765fc92 100644 (file)
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/interrupt.h>
+#include <linux/io.h>
 #include <mach/hardware.h>
 #include <asm/mach/irq.h>
-#include <linux/io.h>
+
 
 /* selected INTC register offsets */
 
@@ -51,12 +52,12 @@ static struct omap_irq_bank {
 
 static void intc_bank_write_reg(u32 val, struct omap_irq_bank *bank, u16 reg)
 {
-       __raw_writel(val, (__force void __iomem *)(bank->base_reg + reg));
+       __raw_writel(val, bank->base_reg + reg);
 }
 
 static u32 intc_bank_read_reg(struct omap_irq_bank *bank, u16 reg)
 {
-       return __raw_readl((__force void __iomem *)(bank->base_reg + reg));
+       return __raw_readl(bank->base_reg + reg);
 }
 
 /* XXX: FIQ and additional INTC support (only MPU at the moment) */