bcm63xx: add support for linux 3.8
[openwrt.git] / target / linux / brcm63xx / patches-3.8 / 552-board_96348gw-10_reset_button.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -858,6 +858,17 @@ static struct board_info __initdata boar
4                         .active_low     = 1,
5                 },
6         },
7 +
8 +       .buttons = {
9 +               {
10 +                       .desc           = "reset",
11 +                       .gpio           = 6,
12 +                       .active_low     = 1,
13 +                       .type           = EV_KEY,
14 +                       .code           = KEY_RESTART,
15 +                       .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
16 +               },
17 +       },
18  };
19  
20  static struct board_info __initdata board_96348gw_11 = {