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

mail settings
Submitter Lee Jones
Date Oct. 24, 2012, 2:45 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/193817/
State New
Headers show


Lee Jones - Oct. 24, 2012, 2:45 p.m.
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 <>
Signed-off-by: Lee Jones <>
 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>