[PATCH 3/6] ARM: ux500: Fix build error relating to IRQCHIP_SKIP_SET_WAKE

From: Lee Jones
Date: Wed Oct 24 2012 - 10:47:31 EST


This patch fixes the build error below:

arch/arm/mach-ux500/cpu.c: In function âux500_init_irqâ:
arch/arm/mach-ux500/cpu.c:55:2: error: invalid use of undefined type âstruct irq_chipâ
arch/arm/mach-ux500/cpu.c:55:24: error: âIRQCHIP_SKIP_SET_WAKEâ undeclared (first use in this function)
arch/arm/mach-ux500/cpu.c:55:24: note: each undeclared identifier is reported only once for each function it appears in
arch/arm/mach-ux500/cpu.c:55:48: error: âIRQCHIP_MASK_ON_SUSPENDâ undeclared (first use in this function)

Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>
---
arch/arm/mach-ux500/cpu.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-ux500/cpu.c b/arch/arm/mach-ux500/cpu.c
index fb25f4e..721e7b4 100644
--- a/arch/arm/mach-ux500/cpu.c
+++ b/arch/arm/mach-ux500/cpu.c
@@ -16,6 +16,7 @@
#include <linux/stat.h>
#include <linux/of.h>
#include <linux/of_irq.h>
+#include <linux/irq.h>
#include <linux/platform_data/clk-ux500.h>

#include <asm/hardware/gic.h>
--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/