rk29sdk: disable adc key
author黄涛 <huangtao@rock-chips.com>
Tue, 7 Dec 2010 10:42:20 +0000 (18:42 +0800)
committer黄涛 <huangtao@rock-chips.com>
Tue, 7 Dec 2010 10:50:26 +0000 (18:50 +0800)
arch/arm/mach-rk29/board-rk29sdk-key.c

index 6f3af7fb9446915ed2198ba6666289b066ea5a36..d7301aff91bd31f71cb7d194f7ee965eaf338b76 100755 (executable)
@@ -100,6 +100,6 @@ static struct rk29_keys_button key_button[] = {
 struct rk29_keys_platform_data rk29_keys_pdata = {\r
        .buttons        = key_button,\r
        .nbuttons       = ARRAY_SIZE(key_button),\r
 struct rk29_keys_platform_data rk29_keys_pdata = {\r
        .buttons        = key_button,\r
        .nbuttons       = ARRAY_SIZE(key_button),\r
-       .chn    = 1,  //chn: 0-7, if do not use ADC,set 'chn' -1\r
+       .chn    = -1,  //chn: 0-7, if do not use ADC,set 'chn' -1\r
 };\r
 \r
 };\r
 \r