[brcm63xx] fix gpio button key code, match button-hotplug code
authorrhk <rhk@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 29 Apr 2010 12:51:02 +0000 (12:51 +0000)
committerrhk <rhk@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 29 Apr 2010 12:51:02 +0000 (12:51 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21253 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/brcm63xx/patches-2.6.32/100-reset_buttons.patch
target/linux/brcm63xx/patches-2.6.32/150-alice_gate2_leds.patch
target/linux/brcm63xx/patches-2.6.32/221-board-NB4.patch
target/linux/brcm63xx/patches-2.6.33/100-reset_buttons.patch
target/linux/brcm63xx/patches-2.6.33/150-alice_gate2_leds.patch
target/linux/brcm63xx/patches-2.6.33/221-board-NB4.patch

index 71d8e47..7b8501e 100644 (file)
@@ -19,7 +19,7 @@
 +                      .gpio           = 32,
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
-+                      .code           = BTN_0,
++                      .code           = KEY_RESTART,
 +                      .threshold      = 3,
 +              },
 +      },
@@ -36,7 +36,7 @@
 +                      .gpio           = 36,
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
-+                      .code           = BTN_0,
++                      .code           = KEY_RESTART,
 +                      .threshold      = 3,
 +              },
 +      },
index 10a7fd9..7b3f9ff 100644 (file)
@@ -56,7 +56,7 @@
 +                      .gpio           = 37,
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
-+                      .code           = BTN_0,
++                      .code           = KEY_RESTART,
 +                      .threshold      = 3,
 +              },
 +      },
index 6e58b5f..57ce7fc 100644 (file)
 +                      .gpio           = 34,
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
-+                      .code           = BTN_0,
++                      .code           = KEY_RESTART,
 +                      .threshold      = 3,
 +              },
 +      },
 +                      .gpio           = 34,
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
-+                      .code           = BTN_0,
++                      .code           = KEY_RESTART,
 +                      .threshold      = 3,
 +              },
 +      },
 +                      .gpio           = 34,
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
-+                      .code           = BTN_0,
++                      .code           = KEY_RESTART,
 +                      .threshold      = 3,
 +              },
 +      },
 +                      .gpio           = 34,
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
-+                      .code           = BTN_0,
++                      .code           = KEY_RESTART,
 +                      .threshold      = 3,
 +              },
 +      },
 +                      .gpio           = 34,
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
-+                      .code           = BTN_0,
++                      .code           = KEY_RESTART,
 +                      .threshold      = 3,
 +              },
 +      },
index 292e0a7..02b4149 100644 (file)
@@ -19,7 +19,7 @@
 +                      .gpio           = 32,
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
-+                      .code           = BTN_0,
++                      .code           = KEY_RESTART,
 +                      .threshold      = 3,
 +              },
 +      },
@@ -36,7 +36,7 @@
 +                      .gpio           = 36,
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
-+                      .code           = BTN_0,
++                      .code           = KEY_RESTART,
 +                      .threshold      = 3,
 +              },
 +      },
index 7795f99..8e53a60 100644 (file)
@@ -56,7 +56,7 @@
 +                      .gpio           = 37,
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
-+                      .code           = BTN_0,
++                      .code           = KEY_RESTART,
 +                      .threshold      = 3,
 +              },
 +      },
index 6e58b5f..57ce7fc 100644 (file)
 +                      .gpio           = 34,
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
-+                      .code           = BTN_0,
++                      .code           = KEY_RESTART,
 +                      .threshold      = 3,
 +              },
 +      },
 +                      .gpio           = 34,
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
-+                      .code           = BTN_0,
++                      .code           = KEY_RESTART,
 +                      .threshold      = 3,
 +              },
 +      },
 +                      .gpio           = 34,
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
-+                      .code           = BTN_0,
++                      .code           = KEY_RESTART,
 +                      .threshold      = 3,
 +              },
 +      },
 +                      .gpio           = 34,
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
-+                      .code           = BTN_0,
++                      .code           = KEY_RESTART,
 +                      .threshold      = 3,
 +              },
 +      },
 +                      .gpio           = 34,
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
-+                      .code           = BTN_0,
++                      .code           = KEY_RESTART,
 +                      .threshold      = 3,
 +              },
 +      },
This page took 0.03609 seconds and 4 git commands to generate.