aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ixp4xx/gtwx5715-pci.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-12-29 15:47:52 +0100
committerLinus Walleij <linus.walleij@linaro.org>2019-04-19 20:37:44 +0200
commitdc8ef8cd3a05632bf15ce8714d6b84ece2836fe9 (patch)
tree3147f78a797a4d4d2c139c03210fe7ad3caf86f4 /arch/arm/mach-ixp4xx/gtwx5715-pci.c
parentARM: ixp4xx: Pass IRQ resource to beeper (diff)
downloadlinux-dev-dc8ef8cd3a05632bf15ce8714d6b84ece2836fe9.tar.xz
linux-dev-dc8ef8cd3a05632bf15ce8714d6b84ece2836fe9.zip
ARM: ixp4xx: Convert to SPARSE_IRQ
This localizes the <mach/irqs.h> header to the mach-ixp4xx directory, removes NR_IRQS and switches IXP4xx over to using SPARSE_IRQ. This is a prerequisite for DT support. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ixp4xx/gtwx5715-pci.c')
-rw-r--r--arch/arm/mach-ixp4xx/gtwx5715-pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-ixp4xx/gtwx5715-pci.c b/arch/arm/mach-ixp4xx/gtwx5715-pci.c
index 551d114c9e14..1223d160448f 100644
--- a/arch/arm/mach-ixp4xx/gtwx5715-pci.c
+++ b/arch/arm/mach-ixp4xx/gtwx5715-pci.c
@@ -30,6 +30,8 @@
#include <mach/hardware.h>
#include <asm/mach/pci.h>
+#include "irqs.h"
+
#define SLOT0_DEVID 0
#define SLOT1_DEVID 1
#define INTA 10 /* slot 1 has INTA and INTB crossed */