aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/io.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2010-12-14 22:17:31 -0500
committerTony Lindgren <tony@atomide.com>2010-12-14 22:17:31 -0500
commitdf127ee375af4cb40b979605e0c336fc79bd38e7 (patch)
tree027512e6f9a157fbf9635fd098bca0999ab79cbb /arch/arm/mach-omap2/io.c
parent79b357c2171ab3e52148503f0efa66d64a13413e (diff)
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 <rnayak@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/io.c')
-rw-r--r--arch/arm/mach-omap2/io.c2
1 files changed, 1 insertions, 1 deletions
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)
320 extern void __iomem *omap_irq_base; 320 extern void __iomem *omap_irq_base;
321 321
322#ifdef MULTI_OMAP2 322#ifdef MULTI_OMAP2
323 if (cpu_is_omap242x()) 323 if (cpu_is_omap24xx())
324 omap_irq_base = OMAP2_L4_IO_ADDRESS(OMAP24XX_IC_BASE); 324 omap_irq_base = OMAP2_L4_IO_ADDRESS(OMAP24XX_IC_BASE);
325 else if (cpu_is_omap34xx()) 325 else if (cpu_is_omap34xx())
326 omap_irq_base = OMAP2_L4_IO_ADDRESS(OMAP34XX_IC_BASE); 326 omap_irq_base = OMAP2_L4_IO_ADDRESS(OMAP34XX_IC_BASE);