From f4a671a543e7e3b560d005906717a8d3eb382978 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Mon, 19 Mar 2012 11:54:13 +0800 Subject: [PATCH] rk30: sdk: fix power key gpio definition --- arch/arm/mach-rk30/board-rk30-sdk-key.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-rk30/board-rk30-sdk-key.c b/arch/arm/mach-rk30/board-rk30-sdk-key.c index 0a8a1095166c..73e730c1ff70 100755 --- a/arch/arm/mach-rk30/board-rk30-sdk-key.c +++ b/arch/arm/mach-rk30/board-rk30-sdk-key.c @@ -8,6 +8,7 @@ #define PRESS_LEV_HIGH 0 static struct rk29_keys_button key_button[] = { +#if 0 { .desc = "menu", .code = EV_MENU, @@ -50,10 +51,11 @@ static struct rk29_keys_button key_button[] = { .gpio = RK30_PIN6_PA6, .active_low = PRESS_LEV_LOW, }, +#endif { .desc = "play", .code = KEY_POWER, - .gpio = RK30_PIN6_PA7, + .gpio = RK30_PIN6_PA2, .active_low = PRESS_LEV_LOW, //.code_long_press = EV_ENCALL, .wakeup = 1, -- 2.34.1