diff options
author | Tony Lindgren <tony@atomide.com> | 2012-04-03 11:31:38 -0700 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-04-03 11:31:38 -0700 |
commit | 08956f1c5883f66c2e547f8137061c6b58ccbb53 (patch) | |
tree | 3112bdeac2bf85b7c3dafacbb42b687d09fbc5f2 /arch/arm/mach-omap2/prm_common.c | |
parent | 3916043576ecefe01818684b38c73695322fd29f (diff) | |
parent | 4ba7c3c3c6567210bf46b1ab3d089134170c2762 (diff) |
Merge branch 'for_3.4/fixes/pm' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm into fixes
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 873b51d494e..d28f848897d 100644 --- a/arch/arm/mach-omap2/prm_common.c +++ b/arch/arm/mach-omap2/prm_common.c @@ -290,7 +290,7 @@ int omap_prcm_register_chain_handler(struct omap_prcm_irq_setup *irq_setup) goto err; } - for (i = 0; i <= irq_setup->nr_regs; i++) { + for (i = 0; i < irq_setup->nr_regs; i++) { gc = irq_alloc_generic_chip("PRCM", 1, irq_setup->base_irq + i * 32, prm_base, handle_level_irq); |