From: Tony Lindgren Date: Wed, 15 Dec 2010 03:17:31 +0000 (-0800) Subject: omap: Fix setting omap_irq_base for 2430 X-Git-Tag: MMI-PSA29.97-13-9~21439^2~45 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=df127ee375af4cb40b979605e0c336fc79bd38e7;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git omap: Fix setting omap_irq_base for 2430 We need to test for 24xx not 242x. Otherwise interrupts won't work. Reported-by: Rajendra Nayak Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index 9804385533e5..534774146ead 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c @@ -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);