mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-20 09:26:28 +00:00
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>
This commit is contained in:
parent
6b53033783
commit
77e14181d9
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user