aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-07-24 09:26:08 -0400
committerSimon Horman <horms@verge.net.au>2012-08-25 02:44:31 -0400
commit2d85b9494d10501f20ebf043f8d599e45736d78f (patch)
treec7400cdbba3a20190a6a42b85f8495de8ed5c2e2 /arch/arm
parentfea7a08acb13524b47711625eebea40a0ede69a0 (diff)
ARM: mach-shmobile: armadillo800eva: Fix GPIO buttons descriptions
The GPIO buttons are named SW3, SW4, SW5 and SW6 on the board silkscreen. Update the buttons descriptions accordingly. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-shmobile/board-armadillo800eva.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-shmobile/board-armadillo800eva.c b/arch/arm/mach-shmobile/board-armadillo800eva.c
index cf10f92856dc..a002504e3236 100644
--- a/arch/arm/mach-shmobile/board-armadillo800eva.c
+++ b/arch/arm/mach-shmobile/board-armadillo800eva.c
@@ -523,10 +523,10 @@ static struct platform_device hdmi_lcdc_device = {
523#define GPIO_KEY(c, g, d) { .code = c, .gpio = g, .desc = d, .active_low = 1 } 523#define GPIO_KEY(c, g, d) { .code = c, .gpio = g, .desc = d, .active_low = 1 }
524 524
525static struct gpio_keys_button gpio_buttons[] = { 525static struct gpio_keys_button gpio_buttons[] = {
526 GPIO_KEY(KEY_POWER, GPIO_PORT99, "SW1"), 526 GPIO_KEY(KEY_POWER, GPIO_PORT99, "SW3"),
527 GPIO_KEY(KEY_BACK, GPIO_PORT100, "SW2"), 527 GPIO_KEY(KEY_BACK, GPIO_PORT100, "SW4"),
528 GPIO_KEY(KEY_MENU, GPIO_PORT97, "SW3"), 528 GPIO_KEY(KEY_MENU, GPIO_PORT97, "SW5"),
529 GPIO_KEY(KEY_HOME, GPIO_PORT98, "SW4"), 529 GPIO_KEY(KEY_HOME, GPIO_PORT98, "SW6"),
530}; 530};
531 531
532static struct gpio_keys_platform_data gpio_key_info = { 532static struct gpio_keys_platform_data gpio_key_info = {