]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP: Clean up interrupt lines to fix warnings for multi-omap
authorTony Lindgren <tony@atomide.com>
Thu, 3 Jul 2008 09:24:41 +0000 (12:24 +0300)
committerTony Lindgren <tony@atomide.com>
Thu, 3 Jul 2008 09:24:41 +0000 (12:24 +0300)
commit44f78f43b349d19d378a996c4a2d9fcdff771b1e
treea011636b4cc05414d7b5b77a325659521ca7d0ba
parent78673bc898c2db7f4fac4871ec702c3443642308
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>
arch/arm/mach-omap1/fpga.c
include/asm-arm/arch-omap/board-2430sdp.h
include/asm-arm/arch-omap/board-h3.h
include/asm-arm/arch-omap/board-innovator.h
include/asm-arm/arch-omap/board-perseus2.h
include/asm-arm/arch-omap/fpga.h
include/asm-arm/arch-omap/irqs.h