Skip to content

Commit

Permalink
omap: Fix setting omap_irq_base for 2430
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tony Lindgren committed Dec 15, 2010
1 parent 79b357c commit df127ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit df127ee

Please sign in to comment.