diff options
author | Tony Lindgren <tony@atomide.com> | 2012-04-03 20:31:38 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-04-03 20:31:38 +0200 |
commit | 08956f1c5883f66c2e547f8137061c6b58ccbb53 (patch) | |
tree | 3112bdeac2bf85b7c3dafacbb42b687d09fbc5f2 /arch/arm/mach-omap2/prm_common.c | |
parent | Merge branch 'fixes-smsc911x' into fixes (diff) | |
parent | ARM: OMAP3+: fix oops triggered in omap_prcm_register_chain_handler(v1) (diff) | |
download | linux-08956f1c5883f66c2e547f8137061c6b58ccbb53.tar.xz linux-08956f1c5883f66c2e547f8137061c6b58ccbb53.zip |
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 873b51d494ea..d28f848897d6 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); |