mfd: twl-core.c: Fix the number of interrupts managed by twl4030
authorBenoit Cousson <b-cousson@ti.com>
Tue, 14 Feb 2012 21:06:56 +0000 (14:06 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 16 Feb 2012 13:11:23 +0000 (06:11 -0700)
TWL4030 does handle 3 different interrupts ranges: 8 for the core, 8 for
the power events and 18 for the GPIOs.

Change the total number of interrupts managed by TWL4030 from 8 to 34.

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/mfd/twl-core.c

index 8ce3959c69199444f8b0cc27edc66b04968165cb..49677339ab5fd6fad3d54ac338685220da3252b2 100644 (file)
 
 #define TWL_MODULE_LAST TWL4030_MODULE_LAST
 
-#define TWL4030_NR_IRQS    8
+#define TWL4030_NR_IRQS    34 /* core:8, power:8, gpio: 18 */
 #define TWL6030_NR_IRQS    20
 
 /* Base Address defns for twl4030_map[] */