summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorDan Haab <dan.haab@luxul.com>2018-03-30 00:21:47 +0200
committerJames Hogan <jhogan@kernel.org>2018-04-07 01:10:48 +0200
commita5075e6226c42a8e64ea1b862eec7747dc46cb32 (patch)
treeb46b4282e3754d3eaa6745ae314beff27ade10df /arch/mips
parentMIPS: BCM47XX: Add Luxul XAP1500/XWR1750 WiFi LEDs (diff)
downloadlinux-a5075e6226c42a8e64ea1b862eec7747dc46cb32.tar.xz
linux-a5075e6226c42a8e64ea1b862eec7747dc46cb32.zip
MIPS: BCM47XX: Use standard reset button for Luxul XWR-1750
The original patch submitted for support of the Luxul XWR-1750 used a non-standard button handler for the reset button. This patch will allow using the standard KEY_RESTART Signed-off-by: Dan Haab <dan.haab@luxul.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Hauke Mehrtens <hauke@hauke-m.de> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/18981/ Signed-off-by: James Hogan <jhogan@kernel.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/bcm47xx/buttons.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/bcm47xx/buttons.c b/arch/mips/bcm47xx/buttons.c
index 88a8fb2bbc71..88d400d256c4 100644
--- a/arch/mips/bcm47xx/buttons.c
+++ b/arch/mips/bcm47xx/buttons.c
@@ -355,7 +355,7 @@ bcm47xx_buttons_luxul_xwr_600_v1[] = {
static const struct gpio_keys_button
bcm47xx_buttons_luxul_xwr_1750_v1[] = {
- BCM47XX_GPIO_KEY(14, BTN_TASK),
+ BCM47XX_GPIO_KEY(14, KEY_RESTART),
};
/* Microsoft */