2009-01-07 13:35:50

by Stanislaw Gruszka

[permalink] [raw]
Subject: [PATCH] ARM / AT91: fix NR_AIC_IRQS undeclared

Fix compilation error:
arch/arm/mach-at91/at91sam9263.c:312: error: 'NR_AIC_IRQS' undeclared here (not in a function)

Signed-off-by: Stanislaw Gruszka <[email protected]>

diff --git a/arch/arm/mach-at91/at91sam9263.c b/arch/arm/mach-at91/at91sam9263.c
index ada4b67..24a9e44 100644
--- a/arch/arm/mach-at91/at91sam9263.c
+++ b/arch/arm/mach-at91/at91sam9263.c
@@ -19,6 +19,7 @@
#include <mach/at91_pmc.h>
#include <mach/at91_rstc.h>
#include <mach/at91_shdwc.h>
+#include <mach/irqs.h>

#include "generic.h"
#include "clock.h"