[brcm63xx] fix gpio button key code, match button-hotplug code

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21253 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Raphaël HUCK 2010-04-29 12:51:02 +00:00
parent 7e2975d848
commit edea3f2ecf
6 changed files with 16 additions and 16 deletions

View File

@ -19,7 +19,7 @@
+ .gpio = 32, + .gpio = 32,
+ .active_low = 1, + .active_low = 1,
+ .type = EV_KEY, + .type = EV_KEY,
+ .code = BTN_0, + .code = KEY_RESTART,
+ .threshold = 3, + .threshold = 3,
+ }, + },
+ }, + },
@ -36,7 +36,7 @@
+ .gpio = 36, + .gpio = 36,
+ .active_low = 1, + .active_low = 1,
+ .type = EV_KEY, + .type = EV_KEY,
+ .code = BTN_0, + .code = KEY_RESTART,
+ .threshold = 3, + .threshold = 3,
+ }, + },
+ }, + },

View File

@ -56,7 +56,7 @@
+ .gpio = 37, + .gpio = 37,
+ .active_low = 1, + .active_low = 1,
+ .type = EV_KEY, + .type = EV_KEY,
+ .code = BTN_0, + .code = KEY_RESTART,
+ .threshold = 3, + .threshold = 3,
+ }, + },
+ }, + },

View File

@ -123,7 +123,7 @@
+ .gpio = 34, + .gpio = 34,
+ .active_low = 1, + .active_low = 1,
+ .type = EV_KEY, + .type = EV_KEY,
+ .code = BTN_0, + .code = KEY_RESTART,
+ .threshold = 3, + .threshold = 3,
+ }, + },
+ }, + },
@ -209,7 +209,7 @@
+ .gpio = 34, + .gpio = 34,
+ .active_low = 1, + .active_low = 1,
+ .type = EV_KEY, + .type = EV_KEY,
+ .code = BTN_0, + .code = KEY_RESTART,
+ .threshold = 3, + .threshold = 3,
+ }, + },
+ }, + },
@ -293,7 +293,7 @@
+ .gpio = 34, + .gpio = 34,
+ .active_low = 1, + .active_low = 1,
+ .type = EV_KEY, + .type = EV_KEY,
+ .code = BTN_0, + .code = KEY_RESTART,
+ .threshold = 3, + .threshold = 3,
+ }, + },
+ }, + },
@ -374,7 +374,7 @@
+ .gpio = 34, + .gpio = 34,
+ .active_low = 1, + .active_low = 1,
+ .type = EV_KEY, + .type = EV_KEY,
+ .code = BTN_0, + .code = KEY_RESTART,
+ .threshold = 3, + .threshold = 3,
+ }, + },
+ }, + },
@ -453,7 +453,7 @@
+ .gpio = 34, + .gpio = 34,
+ .active_low = 1, + .active_low = 1,
+ .type = EV_KEY, + .type = EV_KEY,
+ .code = BTN_0, + .code = KEY_RESTART,
+ .threshold = 3, + .threshold = 3,
+ }, + },
+ }, + },

View File

@ -19,7 +19,7 @@
+ .gpio = 32, + .gpio = 32,
+ .active_low = 1, + .active_low = 1,
+ .type = EV_KEY, + .type = EV_KEY,
+ .code = BTN_0, + .code = KEY_RESTART,
+ .threshold = 3, + .threshold = 3,
+ }, + },
+ }, + },
@ -36,7 +36,7 @@
+ .gpio = 36, + .gpio = 36,
+ .active_low = 1, + .active_low = 1,
+ .type = EV_KEY, + .type = EV_KEY,
+ .code = BTN_0, + .code = KEY_RESTART,
+ .threshold = 3, + .threshold = 3,
+ }, + },
+ }, + },

View File

@ -56,7 +56,7 @@
+ .gpio = 37, + .gpio = 37,
+ .active_low = 1, + .active_low = 1,
+ .type = EV_KEY, + .type = EV_KEY,
+ .code = BTN_0, + .code = KEY_RESTART,
+ .threshold = 3, + .threshold = 3,
+ }, + },
+ }, + },

View File

@ -123,7 +123,7 @@
+ .gpio = 34, + .gpio = 34,
+ .active_low = 1, + .active_low = 1,
+ .type = EV_KEY, + .type = EV_KEY,
+ .code = BTN_0, + .code = KEY_RESTART,
+ .threshold = 3, + .threshold = 3,
+ }, + },
+ }, + },
@ -209,7 +209,7 @@
+ .gpio = 34, + .gpio = 34,
+ .active_low = 1, + .active_low = 1,
+ .type = EV_KEY, + .type = EV_KEY,
+ .code = BTN_0, + .code = KEY_RESTART,
+ .threshold = 3, + .threshold = 3,
+ }, + },
+ }, + },
@ -293,7 +293,7 @@
+ .gpio = 34, + .gpio = 34,
+ .active_low = 1, + .active_low = 1,
+ .type = EV_KEY, + .type = EV_KEY,
+ .code = BTN_0, + .code = KEY_RESTART,
+ .threshold = 3, + .threshold = 3,
+ }, + },
+ }, + },
@ -374,7 +374,7 @@
+ .gpio = 34, + .gpio = 34,
+ .active_low = 1, + .active_low = 1,
+ .type = EV_KEY, + .type = EV_KEY,
+ .code = BTN_0, + .code = KEY_RESTART,
+ .threshold = 3, + .threshold = 3,
+ }, + },
+ }, + },
@ -453,7 +453,7 @@
+ .gpio = 34, + .gpio = 34,
+ .active_low = 1, + .active_low = 1,
+ .type = EV_KEY, + .type = EV_KEY,
+ .code = BTN_0, + .code = KEY_RESTART,
+ .threshold = 3, + .threshold = 3,
+ }, + },
+ }, + },