diff options
author | Tony Lindgren <tony@atomide.com> | 2008-07-03 11:24:41 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2008-07-03 11:24:41 +0200 |
commit | 44f78f43b349d19d378a996c4a2d9fcdff771b1e (patch) | |
tree | a011636b4cc05414d7b5b77a325659521ca7d0ba /include/asm-arm/arch-omap/board-2430sdp.h | |
parent | ARM: OMAP: McBSP: Add support for mcbsp on mach-omap2 (diff) | |
download | linux-44f78f43b349d19d378a996c4a2d9fcdff771b1e.tar.xz linux-44f78f43b349d19d378a996c4a2d9fcdff771b1e.zip |
ARM: OMAP: Clean up interrupt lines to fix warnings for multi-omap
If boards with different NR_IRQS are compiled together, tons of
compiler warnings are emitted about redefining NR_IRQS.
This patch fixes the problem by adding up NR_IRQS in a common place.
Patch also removes quite a bit of now unnecessary code.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include/asm-arm/arch-omap/board-2430sdp.h')
-rw-r--r-- | include/asm-arm/arch-omap/board-2430sdp.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-arm/arch-omap/board-2430sdp.h b/include/asm-arm/arch-omap/board-2430sdp.h index e9c65ce3cb12..c7db9004ec31 100644 --- a/include/asm-arm/arch-omap/board-2430sdp.h +++ b/include/asm-arm/arch-omap/board-2430sdp.h @@ -36,9 +36,4 @@ #define TWL4030_IRQNUM INT_24XX_SYS_NIRQ -/* TWL4030 Primary Interrupt Handler (PIH) interrupts */ -#define IH_TWL4030_BASE IH_BOARD_BASE -#define IH_TWL4030_END (IH_TWL4030_BASE+8) -#define NR_IRQS (IH_TWL4030_END) - #endif /* __ASM_ARCH_OMAP_2430SDP_H */ |