[PATCH] OMAP2EVM TWL4030 keypad update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Now we are passing irq number via platform_data

Signed-off-by: Arun KS <arunks@xxxxxxxxxxxxxxxxxxxx>
---
 arch/arm/mach-omap2/board-omap2evm.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/board-omap2evm.c
b/arch/arm/mach-omap2/board-omap2evm.c
index 9bb8fba..4188222 100644
--- a/arch/arm/mach-omap2/board-omap2evm.c
+++ b/arch/arm/mach-omap2/board-omap2evm.c
@@ -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 = {
-- 
1.5.3.4
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux