]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
OMAP2EVM TWL4030 keypad update
authorArun KS <getarunks@gmail.com>
Tue, 19 Aug 2008 09:00:54 +0000 (14:30 +0530)
committerTony Lindgren <tony@atomide.com>
Wed, 20 Aug 2008 12:23:57 +0000 (15:23 +0300)
Now we are passing irq number via platform_data

Signed-off-by: Arun KS <arunks@mistralsolutions.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-omap2evm.c

index 9bb8fbaf824aa9ebf6c26d9e9b71beba4e6a9bde..41882222376f3a15be65d9bf02f7fade5ce94c03 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/clk.h>
 #include <linux/io.h>
 #include <linux/input.h>
+#include <linux/i2c/twl4030.h>
 
 #include <mach/hardware.h>
 #include <asm/mach-types.h>
@@ -99,6 +100,7 @@ static struct omap_kp_platform_data omap2evm_kp_data = {
        .keymap         = omap2evm_keymap,
        .keymapsize     = ARRAY_SIZE(omap2evm_keymap),
        .rep            = 1,
+       .irq            = TWL4030_MODIRQ_KEYPAD,
 };
 
 static struct platform_device omap2evm_kp_device = {