]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
OMAP3EVM: TWL4030 Keypad irq error fix
authorarun c <arunedarath@mistralsolutions.com>
Sat, 20 Sep 2008 06:51:40 +0000 (02:51 -0400)
committerTony Lindgren <tony@atomide.com>
Tue, 23 Sep 2008 11:00:26 +0000 (14:00 +0300)
without this the below error messages were coming continuously

TWL4030 module irq 369 is disabled but can't be masked!
<2>TWL4030 module irq 369 is disabled but can't be masked!

Signed-off-by: Arun C <arunedarath@mistralsolutions.com>
Acked-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-omap3evm.c

index e69ea4d7436cf583449082d8409814fe0b803c61..6aa7e283a92722ec67c5b4c5fb293e24e74a60d8 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <linux/spi/spi.h>
 #include <linux/spi/ads7846.h>
+#include <linux/i2c/twl4030.h>
 
 #include <mach/hardware.h>
 #include <asm/mach-types.h>
@@ -192,6 +193,7 @@ static struct omap_kp_platform_data omap3evm_kp_data = {
        .keymap         = omap3evm_keymap,
        .keymapsize     = ARRAY_SIZE(omap3evm_keymap),
        .rep            = 1,
+       .irq            = TWL4030_MODIRQ_KEYPAD,
 };
 
 static struct platform_device omap3evm_kp_device = {