Skip to content

Commit

Permalink
ARM: OMAP2+: Make INTCPS_NR_IRQS local for mach-omap2/irq.c
Browse files Browse the repository at this point in the history
Make INTCPS_NR_IRQS local for mach-omap2/irq.c

Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Tony Lindgren committed Sep 13, 2012
1 parent 936e0f2 commit 3003ce3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mach-omap2/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@
#define OMAP3_IRQ_BASE OMAP2_L4_IO_ADDRESS(OMAP34XX_IC_BASE)
#define INTCPS_SIR_IRQ_OFFSET 0x0040 /* omap2/3 active interrupt offset */
#define ACTIVEIRQ_MASK 0x7f /* omap2/3 active interrupt bits */
#define INTCPS_NR_MIR_REGS 3
#define INTCPS_NR_IRQS 96

/*
* OMAP2 has a number of different interrupt controllers, each interrupt
Expand Down
3 changes: 0 additions & 3 deletions arch/arm/plat-omap/include/plat/irqs.h
Original file line number Diff line number Diff line change
Expand Up @@ -440,9 +440,6 @@

#define OMAP_IRQ_BIT(irq) (1 << ((irq) % 32))

#define INTCPS_NR_MIR_REGS 3
#define INTCPS_NR_IRQS 96

#include <mach/hardware.h>

#ifdef CONFIG_FIQ
Expand Down

0 comments on commit 3003ce3

Please sign in to comment.