From 282dc8c6f8082ce6ce249363a5a1cc80a047c01a Mon Sep 17 00:00:00 2001
From: Alessandro Rubini <rubini@gnudd.com>
Date: Tue, 17 Jan 2012 17:16:20 +0100
Subject: [PATCH 3/3] at91 NR_IRQS: increase by 64 to fit custom muxes

---
 arch/arm/mach-at91/include/mach/irqs.h |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-at91/include/mach/irqs.h b/arch/arm/mach-at91/include/mach/irqs.h
index 36bd55f..04a080c 100644
--- a/arch/arm/mach-at91/include/mach/irqs.h
+++ b/arch/arm/mach-at91/include/mach/irqs.h
@@ -40,7 +40,11 @@
  * symbols in gpio.h for ones handled indirectly as GPIOs.
  * We make provision for 5 banks of GPIO.
  */
-#define	NR_IRQS		(NR_AIC_IRQS + (5 * 32))
+#if 0
+   #define	NR_IRQS		(NR_AIC_IRQS + (5 * 32))
+#else /* Actually, we want to allow a pair of board-specific multiplexers */
+   #define	NR_IRQS		(NR_AIC_IRQS + (5 * 32) + (2 * 32))
+#endif
 
 /* FIQ is AIC source 0. */
 #define FIQ_START AT91_ID_FIQ
-- 
1.7.7.2

