diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2011-02-11 20:27:07 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2012-03-23 19:56:51 -0700 |
commit | 8f39e5f866e453121e53da6db6266aa6aefca963 (patch) | |
tree | 1b2d47ff614e80ee74d6471c4cd93b965e0698d3 /arch/arm/mach-tegra/board-cardhu-kbc.c | |
parent | c038d1498e15509146411d9dde3ef2986c3452d1 (diff) |
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 <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Original-Change-Id: I56dd388033d9da5809f1015f4ec6b2ca2902778b
Rebase-Id: Rbe7395e0958033e268366ac93862bb70f65936dd
Diffstat (limited to 'arch/arm/mach-tegra/board-cardhu-kbc.c')
-rw-r--r-- | arch/arm/mach-tegra/board-cardhu-kbc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |