rk30: sdk: fix power key gpio definition
author黄涛 <huangtao@rock-chips.com>
Mon, 19 Mar 2012 03:54:13 +0000 (11:54 +0800)
committer黄涛 <huangtao@rock-chips.com>
Mon, 19 Mar 2012 03:54:13 +0000 (11:54 +0800)
arch/arm/mach-rk30/board-rk30-sdk-key.c

index 0a8a1095166cebeda3142bad269dfdfcd0b947dc..73e730c1ff702e24f1c5af7661a1455880f0c8b2 100755 (executable)
@@ -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,