From 8f39e5f866e453121e53da6db6266aa6aefca963 Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Fri, 11 Feb 2011 20:27:07 +0530 Subject: arm: tegra: cardhu: Enabling Power key for display wakeup Enabling POWER/ONKEY to generate POWER event in E1198 and E1291. Bug 786302 Original-Change-Id: Ie24eacf6c7346389503633b67d51d3f0a4ed08e5 Reviewed-on: http://git-master/r/19255 Tested-by: Laxman Dewangan Reviewed-by: Bitan Biswas Reviewed-by: Laxman Dewangan Original-Change-Id: I56dd388033d9da5809f1015f4ec6b2ca2902778b Rebase-Id: Rbe7395e0958033e268366ac93862bb70f65936dd --- arch/arm/mach-tegra/board-cardhu-kbc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/arm/mach-tegra/board-cardhu-kbc.c') diff --git a/arch/arm/mach-tegra/board-cardhu-kbc.c b/arch/arm/mach-tegra/board-cardhu-kbc.c index 5b542ce3a374..6cb78e4a0695 100644 --- a/arch/arm/mach-tegra/board-cardhu-kbc.c +++ b/arch/arm/mach-tegra/board-cardhu-kbc.c @@ -241,6 +241,7 @@ static struct gpio_keys_button cardhu_keys_e1291[] = { [3] = GPIO_KEY(KEY_SEARCH, PQ3, 0), [4] = GPIO_KEY(KEY_VOLUMEUP, PQ0, 0), [5] = GPIO_KEY(KEY_VOLUMEDOWN, PQ1, 0), + [6] = GPIO_KEY(KEY_POWER, PV0, 1), }; static struct gpio_keys_platform_data cardhu_keys_e1291_platform_data = { @@ -259,7 +260,6 @@ static struct platform_device cardhu_keys_e1291_device = { int __init cardhu_keys_init(void) { int i; - int ret; struct board_info board_info; tegra_get_board_info(&board_info); -- cgit v1.2.3