Commit d6c1634c authored by Arun KS's avatar Arun KS Committed by Tony Lindgren

OMAP2EVM TWL4030 keypad update

Now we are passing irq number via platform_data
Signed-off-by: default avatarArun KS <arunks@mistralsolutions.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent c9a955b1
......@@ -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 = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment