projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ar71xx: cr5000: Fix the reset button as KEY_RESTART
[openwrt/openwrt.git]
/
target
/
linux
/
ar71xx
/
files
/
arch
/
mips
/
ath79
/
mach-cr5000.c
diff --git
a/target/linux/ar71xx/files/arch/mips/ath79/mach-cr5000.c
b/target/linux/ar71xx/files/arch/mips/ath79/mach-cr5000.c
index 15cac710477ddae4657bd3d2595745cb2ef012bd..f3f030c1d8b11dc0d058dfd6fed2163a00401e26 100644
(file)
--- a/
target/linux/ar71xx/files/arch/mips/ath79/mach-cr5000.c
+++ b/
target/linux/ar71xx/files/arch/mips/ath79/mach-cr5000.c
@@
-90,7
+90,7
@@
static struct gpio_keys_button cr5000_gpio_keys[] __initdata = {
{
.desc = "Reset button",
.type = EV_KEY,
- .code = KEY_
WPS_BUTTON
,
+ .code = KEY_
RESTART
,
.debounce_interval = CR5000_KEYS_DEBOUNCE_INTERVAL,
.gpio = CR5000_GPIO_BTN_RESET,
.active_low = 1,