summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorb02247 <b02247@freescale.com>2013-01-04 16:21:59 +0800
committerTapani <tapani@vmail.me>2013-03-29 11:42:31 +0800
commit852e3e8b22ae9a43f31a2c5dd4779068d1042977 (patch)
tree71c051cc6d291b08d265a3be7da22699ca91f8e4 /arch
parentb435b9820407427aa86e65b2a227e6d5d8c72788 (diff)
ENGR00235540 Change the menu key to power key for sabreauto
Change MENU key to POWER key for sabreauto Signed-off-by: b02247 <b02247@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-mx6/board-mx6q_sabreauto.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-mx6/board-mx6q_sabreauto.c b/arch/arm/mach-mx6/board-mx6q_sabreauto.c
index fd99bcdc9442..acd42bac03d3 100644
--- a/arch/arm/mach-mx6/board-mx6q_sabreauto.c
+++ b/arch/arm/mach-mx6/board-mx6q_sabreauto.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2011-2012 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright (C) 2011-2013 Freescale Semiconductor, Inc. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -93,7 +93,7 @@
#define SABREAUTO_USB_OTG_OC IMX_GPIO_NR(2, 8)
#define SABREAUTO_LDB_BACKLIGHT3 IMX_GPIO_NR(2, 9)
#define SABREAUTO_LDB_BACKLIGHT4 IMX_GPIO_NR(2, 10)
-#define SABREAUTO_ANDROID_MENU IMX_GPIO_NR(2, 12)
+#define SABREAUTO_ANDROID_POWER IMX_GPIO_NR(2, 12)
#define SABREAUTO_ANDROID_VOLUP IMX_GPIO_NR(2, 15)
#define SABREAUTO_CAP_TCH_INT IMX_GPIO_NR(2, 28)
#define SABREAUTO_eCOMPASS_INT IMX_GPIO_NR(2, 29)
@@ -195,9 +195,9 @@ enum sd_pad_mode {
static struct gpio_keys_button ard_buttons[] = {
GPIO_BUTTON(SABREAUTO_ANDROID_HOME, KEY_HOME, 1, "home", 0),
GPIO_BUTTON(SABREAUTO_ANDROID_BACK, KEY_BACK, 1, "back", 0),
- GPIO_BUTTON(SABREAUTO_ANDROID_MENU, KEY_MENU, 1, "menu", 0),
GPIO_BUTTON(SABREAUTO_ANDROID_VOLUP, KEY_VOLUMEUP, 1, "volume-up", 0),
GPIO_BUTTON(SABREAUTO_ANDROID_VOLDOWN, KEY_VOLUMEDOWN, 1, "volume-down", 0),
+ GPIO_BUTTON(SABREAUTO_ANDROID_POWER, KEY_POWER, 1, "power-key", 1),
};
static struct gpio_keys_platform_data ard_android_button_data = {