summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-2.6.32/100-reset_buttons.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.32/100-reset_buttons.patch')
-rw-r--r--target/linux/brcm63xx/patches-2.6.32/100-reset_buttons.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.32/100-reset_buttons.patch b/target/linux/brcm63xx/patches-2.6.32/100-reset_buttons.patch
index 71d8e4741..7b8501e9e 100644
--- a/target/linux/brcm63xx/patches-2.6.32/100-reset_buttons.patch
+++ b/target/linux/brcm63xx/patches-2.6.32/100-reset_buttons.patch
@@ -19,7 +19,7 @@
+ .gpio = 32,
+ .active_low = 1,
+ .type = EV_KEY,
-+ .code = BTN_0,
++ .code = KEY_RESTART,
+ .threshold = 3,
+ },
+ },
@@ -36,7 +36,7 @@
+ .gpio = 36,
+ .active_low = 1,
+ .type = EV_KEY,
-+ .code = BTN_0,
++ .code = KEY_RESTART,
+ .threshold = 3,
+ },
+ },