]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-omap2/board-omap2evm.c
OMAP2EVM TWL4030 keypad update
[linux-2.6-omap-h63xx.git] / 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 = {