Browse Source

ARM: EXYNOS4: Increase NR_IRQS for devices with more IRQs

MAX8997/17042, which are used by Exynos4-NURI, use additional IRQ
numbers after GPIO's IRQs. The patch creates some room for those
devices.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
MyungJoo Ham 14 years ago
parent
commit
03614be3ed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/arm/mach-exynos4/include/mach/irqs.h

+ 1 - 1
arch/arm/mach-exynos4/include/mach/irqs.h

@@ -154,6 +154,6 @@
 #define IRQ_GPIO_END		(S5P_GPIOINT_BASE + S5P_GPIOINT_COUNT)
 
 /* Set the default NR_IRQS */
-#define NR_IRQS			(IRQ_GPIO_END)
+#define NR_IRQS			(IRQ_GPIO_END + 64)
 
 #endif /* __ASM_ARCH_IRQS_H */