projects
/
librecmc
/
librecmc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: ZyXEL NBG6716 rfkill switch fix
[librecmc/librecmc.git]
/
target
/
linux
/
ar71xx
/
files
/
arch
/
mips
/
ath79
/
mach-nbg6716.c
diff --git
a/target/linux/ar71xx/files/arch/mips/ath79/mach-nbg6716.c
b/target/linux/ar71xx/files/arch/mips/ath79/mach-nbg6716.c
index acdfb0ae701db8706238d6a5ee487eab5e45f597..0ca2e56b0b15cf505074f39ef3ed686b9c56400e 100644
(file)
--- a/
target/linux/ar71xx/files/arch/mips/ath79/mach-nbg6716.c
+++ b/
target/linux/ar71xx/files/arch/mips/ath79/mach-nbg6716.c
@@
-115,11
+115,11
@@
static struct gpio_keys_button nbg6716_gpio_keys[] __initdata = {
},
{
.desc = "RFKILL button",
},
{
.desc = "RFKILL button",
- .type = EV_
KEY
,
+ .type = EV_
SW
,
.code = KEY_RFKILL,
.debounce_interval = NBG6716_KEYS_DEBOUNCE_INTERVAL,
.gpio = NBG6716_GPIO_BTN_RFKILL,
.code = KEY_RFKILL,
.debounce_interval = NBG6716_KEYS_DEBOUNCE_INTERVAL,
.gpio = NBG6716_GPIO_BTN_RFKILL,
- .active_low =
1
,
+ .active_low =
0
,
},
{
.desc = "USB1 eject button",
},
{
.desc = "USB1 eject button",