[brcm63xx] fix gpio button key code, match button-hotplug code
[openwrt.git] / target / linux / brcm63xx / patches-2.6.32 / 100-reset_buttons.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,
 +              },
 +      },
This page took 0.024141 seconds and 4 git commands to generate.