omap: Fix setting omap_irq_base for 2430
authorTony Lindgren <tony@atomide.com>
Wed, 15 Dec 2010 03:17:31 +0000 (19:17 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 15 Dec 2010 03:17:31 +0000 (19:17 -0800)
We need to test for 24xx not 242x. Otherwise interrupts won't work.

Reported-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/io.c

index 9804385..5347741 100644 (file)
@@ -320,7 +320,7 @@ static inline void omap_irq_base_init(void)
        extern void __iomem *omap_irq_base;
 
 #ifdef MULTI_OMAP2
-       if (cpu_is_omap242x())
+       if (cpu_is_omap24xx())
                omap_irq_base = OMAP2_L4_IO_ADDRESS(OMAP24XX_IC_BASE);
        else if (cpu_is_omap34xx())
                omap_irq_base = OMAP2_L4_IO_ADDRESS(OMAP34XX_IC_BASE);