[brcm63xx] fix gpio button key code, match button-hotplug code
[openwrt.git] / target / linux / brcm63xx / patches-2.6.32 / 221-board-NB4.patch
index 6e58b5f..57ce7fc 100644 (file)
 +                      .gpio           = 34,
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
 +                      .gpio           = 34,
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
-+                      .code           = BTN_0,
++                      .code           = KEY_RESTART,
 +                      .threshold      = 3,
 +              },
 +      },
 +                      .threshold      = 3,
 +              },
 +      },
 +                      .gpio           = 34,
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
 +                      .gpio           = 34,
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
-+                      .code           = BTN_0,
++                      .code           = KEY_RESTART,
 +                      .threshold      = 3,
 +              },
 +      },
 +                      .threshold      = 3,
 +              },
 +      },
 +                      .gpio           = 34,
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
 +                      .gpio           = 34,
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
-+                      .code           = BTN_0,
++                      .code           = KEY_RESTART,
 +                      .threshold      = 3,
 +              },
 +      },
 +                      .threshold      = 3,
 +              },
 +      },
 +                      .gpio           = 34,
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
 +                      .gpio           = 34,
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
-+                      .code           = BTN_0,
++                      .code           = KEY_RESTART,
 +                      .threshold      = 3,
 +              },
 +      },
 +                      .threshold      = 3,
 +              },
 +      },
 +                      .gpio           = 34,
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
 +                      .gpio           = 34,
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
-+                      .code           = BTN_0,
++                      .code           = KEY_RESTART,
 +                      .threshold      = 3,
 +              },
 +      },
 +                      .threshold      = 3,
 +              },
 +      },
This page took 0.021768 seconds and 4 git commands to generate.