diff options
Diffstat (limited to 'arch/arm/mach-omap2/prm_common.c')
-rw-r--r-- | arch/arm/mach-omap2/prm_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/prm_common.c b/arch/arm/mach-omap2/prm_common.c index 860118ab43e2..de58b8b878e3 100644 --- a/arch/arm/mach-omap2/prm_common.c +++ b/arch/arm/mach-omap2/prm_common.c | |||
@@ -291,7 +291,7 @@ int omap_prcm_register_chain_handler(struct omap_prcm_irq_setup *irq_setup) | |||
291 | goto err; | 291 | goto err; |
292 | } | 292 | } |
293 | 293 | ||
294 | for (i = 0; i <= irq_setup->nr_regs; i++) { | 294 | for (i = 0; i < irq_setup->nr_regs; i++) { |
295 | gc = irq_alloc_generic_chip("PRCM", 1, | 295 | gc = irq_alloc_generic_chip("PRCM", 1, |
296 | irq_setup->base_irq + i * 32, prm_base, | 296 | irq_setup->base_irq + i * 32, prm_base, |
297 | handle_level_irq); | 297 | handle_level_irq); |