aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorMichal Cieslakiewicz <michal.cieslakiewicz@wp.pl>2019-10-11 10:41:51 +0200
committerJohn Crispin <john@phrozen.org>2019-10-21 13:24:01 +0200
commit77e14181d992cf3ed1259acfbda76927e80242b6 (patch)
tree9e59013b7b834e4080988702d8e803b332649b7a /target
parent6b5303378315084bf080a6408c2ca5b2a911aa5d (diff)
downloadupstream-77e14181d992cf3ed1259acfbda76927e80242b6.tar.gz
upstream-77e14181d992cf3ed1259acfbda76927e80242b6.tar.bz2
upstream-77e14181d992cf3ed1259acfbda76927e80242b6.zip
ar71xx: WNDR4300: use standard labels for buttons
GPIO key labels have been changed to standard ones (rfkill, reset, wps). It does not affect button functionality. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c
index d129bb7854..339216da1b 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c
@@ -107,7 +107,7 @@ static struct gpio_led wndr4300_leds_gpio[] __initdata = {
static struct gpio_keys_button wndr4300_gpio_keys[] __initdata = {
{
- .desc = "Reset button",
+ .desc = "reset",
.type = EV_KEY,
.code = KEY_RESTART,
.debounce_interval = WNDR4300_KEYS_DEBOUNCE_INTERVAL,
@@ -115,7 +115,7 @@ static struct gpio_keys_button wndr4300_gpio_keys[] __initdata = {
.active_low = 1,
},
{
- .desc = "WPS button",
+ .desc = "wps",
.type = EV_KEY,
.code = KEY_WPS_BUTTON,
.debounce_interval = WNDR4300_KEYS_DEBOUNCE_INTERVAL,
@@ -123,7 +123,7 @@ static struct gpio_keys_button wndr4300_gpio_keys[] __initdata = {
.active_low = 1,
},
{
- .desc = "Wireless button",
+ .desc = "rfkill",
.type = EV_KEY,
.code = KEY_RFKILL,
.debounce_interval = WNDR4300_KEYS_DEBOUNCE_INTERVAL,