ARM: EXYNOS4: Increase NR_IRQS for devices with more IRQs
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 20 Jul 2011 15:31:26 +0000 (00:31 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Wed, 20 Jul 2011 15:31:26 +0000 (00:31 +0900)
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>
arch/arm/mach-exynos4/include/mach/irqs.h

index 31f6bed..51b5db5 100644 (file)
 #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 */