]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP: Clean up interrupt lines to fix warning for multi-omap
authorTony Lindgren <tony@atomide.com>
Wed, 23 Apr 2008 23:26:15 +0000 (16:26 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 23 Apr 2008 23:37:25 +0000 (16:37 -0700)
commit38c50a71591628c38206aa402500074a6137a4dc
tree216daebb651c0a4354e4896350cdb544ad79b101
parentc310c979c4159067685faf37a96ecb0f4d7c0300
ARM: OMAP: Clean up interrupt lines to fix warning 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>
16 files changed:
arch/arm/mach-omap1/fpga.c
arch/arm/mach-omap2/board-sdp-hsmmc.c
drivers/i2c/chips/twl4030-core.c
drivers/i2c/chips/twl4030-gpio.c
drivers/i2c/chips/twl4030-pwrirq.c
include/asm-arm/arch-omap/board-2430osk.h
include/asm-arm/arch-omap/board-2430sdp.h
include/asm-arm/arch-omap/board-3430sdp.h
include/asm-arm/arch-omap/board-h3.h
include/asm-arm/arch-omap/board-innovator.h
include/asm-arm/arch-omap/board-omap3beagle.h
include/asm-arm/arch-omap/board-omap3evm.h
include/asm-arm/arch-omap/board-perseus2.h
include/asm-arm/arch-omap/fpga.h
include/asm-arm/arch-omap/irqs.h
include/linux/i2c/twl4030.h