summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ixp4xx/gateway7001-setup.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/gateway7001-setup.c
parent075df31aed44cd9b9f2fd6522b16183415ee3351 (diff)
downloadlinux-dc8ef8cd3a05632bf15ce8714d6b84ece2836fe9.tar.bz2
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/gateway7001-setup.c')
-rw-r--r--arch/arm/mach-ixp4xx/gateway7001-setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-ixp4xx/gateway7001-setup.c b/arch/arm/mach-ixp4xx/gateway7001-setup.c
index 1be6faf6da9a..678e7dfff0e5 100644
--- a/arch/arm/mach-ixp4xx/gateway7001-setup.c
+++ b/arch/arm/mach-ixp4xx/gateway7001-setup.c
@@ -28,6 +28,8 @@
#include <asm/mach/arch.h>
#include <asm/mach/flash.h>
+#include "irqs.h"
+
static struct flash_platform_data gateway7001_flash_data = {
.map_name = "cfi_probe",
.width = 2,