From eddede0d7c15002e1bcd7b80c69a6ca66165a85d Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Mon, 14 Mar 2011 15:08:14 +0530 Subject: arm: tegra: cardhu: Mapping Key on Row0 to POWER Mapping the key connected on ROW0 to the KEY_POWER. This will allow the system to enter into the suspend by pressing this key. Original-Change-Id: I36f636448d48bd4fc9c92a3618ae25f074445378 Reviewed-on: http://git-master/r/22790 Tested-by: Laxman Dewangan Reviewed-by: Bitan Biswas Reviewed-by: Laxman Dewangan Original-Change-Id: I06333ec0ec7aee5328387428988370b708a85789 Rebase-Id: R75fead4d349b7026127b7c1a1fcff1aa509a691f --- arch/arm/mach-tegra/board-cardhu-kbc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (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 76865b91c457..7a3170d6c46b 100644 --- a/arch/arm/mach-tegra/board-cardhu-kbc.c +++ b/arch/arm/mach-tegra/board-cardhu-kbc.c @@ -166,13 +166,12 @@ static struct platform_device cardhu_keys_e1198_device = { }; static struct gpio_keys_button cardhu_keys_e1291[] = { - [0] = GPIO_KEY(KEY_MENU, PR0, 0), + [0] = GPIO_KEY(KEY_POWER, PR0, 0), [1] = GPIO_KEY(KEY_BACK, PR1, 0), [2] = GPIO_KEY(KEY_HOME, PR2, 0), [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 = { -- cgit v1.2.3