linux/arch/arm/mach-lpc32xx
Arnd Bergmann 09564b7d84 ARM: lpc32xx: fix NR_IRQS confict
With the change to sparse IRQs, the lpc32xx platform gets a warning about
conflicting macros:

In file included from arch/arm/mach-lpc32xx/irq.c:31:0:
arch/arm/mach-lpc32xx/include/mach/irqs.h:115:0: warning: "NR_IRQS" redefined
 #define NR_IRQS    96
arch/arm/include/asm/irq.h:9:0: note: this is the location of the previous definition
 #define NR_IRQS NR_IRQS_LEGACY

One such instance was in the old irq driver that is now removed by
the previous patch, but any other file including mach/irqs.h still
has the issue. Since none of them use this constant, we can just
remove the old definition.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 8cb17b5ed0 ("irqchip: Add LPC32xx interrupt controller driver")
2016-05-24 19:32:46 +00:00
..
include/mach ARM: lpc32xx: fix NR_IRQS confict 2016-05-24 19:32:46 +00:00
clock.h ARM: LPC32XX: Clock driver 2010-07-27 03:08:09 -07:00
common.c ARM: lpc32xx: remove leftovers of legacy clock source and provider drivers 2016-04-28 00:45:01 +03:00
common.h ARM: lpc32xx: remove leftovers of legacy clock source and provider drivers 2016-04-28 00:45:01 +03:00
Makefile ARM: lpc32xx: remove legacy irq controller driver 2016-05-24 19:32:45 +00:00
Makefile.boot ARM: move all dtb targets out of Makefile.boot 2012-09-14 09:22:04 -05:00
phy3250.c ARM: SoC platform updates for v4.7 2016-05-18 12:35:46 -07:00
pm.c ARM: LPC32xx: Fix missing and bad LPC32XX macros 2012-02-27 17:31:24 +01:00
serial.c arm: lpc32xx: switch to common clock framework 2016-02-11 02:24:53 +02:00
suspend.S ARM: LPC32XX: System suspend support 2010-07-27 08:35:56 -07:00