summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-ventana.c
diff options
context:
space:
mode:
authorJay Cheng <jacheng@nvidia.com>2011-08-15 22:03:23 -0400
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:47:21 -0800
commit7ad31c1a0bb4dd45a97077a1519ff849db81d45c (patch)
tree5589ad33b8a4340ab06f249e884e12bfc0748931 /arch/arm/mach-tegra/board-ventana.c
parent7b8232e71a72125f06bc3b1dbfdef36928e24ae6 (diff)
tegra: power: add wakeup_key method
connect wakeup_key method to KEY_POWER (TEGRA_WAKE_GPIO_PV2) Change-Id: I13b8f503399989bb06e97343711ed9e7348839ac Reviewed-on: http://git-master/r/47364 Tested-by: Cho-Che Cheng <jacheng@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Chih-Lung Huang <lhuang@nvidia.com> Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Rebase-Id: Rffb10919b9cfa49c975f37d12646a34aeee44375
Diffstat (limited to 'arch/arm/mach-tegra/board-ventana.c')
-rw-r--r--arch/arm/mach-tegra/board-ventana.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-ventana.c b/arch/arm/mach-tegra/board-ventana.c
index 5af980559e83..1ed2a5637b80 100644
--- a/arch/arm/mach-tegra/board-ventana.c
+++ b/arch/arm/mach-tegra/board-ventana.c
@@ -248,6 +248,7 @@ static int ventana_wakeup_key(void)
static struct gpio_keys_platform_data ventana_keys_platform_data = {
.buttons = ventana_keys,
.nbuttons = ARRAY_SIZE(ventana_keys),
+ .wakeup_key = ventana_wakeup_key,
};
static struct platform_device ventana_keys_device = {