aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-2.6.33
diff options
context:
space:
mode:
authorRaphaël HUCK <rhk@cksum.org>2010-04-29 12:51:02 +0000
committerRaphaël HUCK <rhk@cksum.org>2010-04-29 12:51:02 +0000
commitedea3f2ecf81d7d08bebaf4d3b7af29b09ac74d8 (patch)
tree1673282c9988caa4da248ba6547654a20446b95d /target/linux/brcm63xx/patches-2.6.33
parent7e2975d848d68bd9d5017c63e9273bfd2c62a9c1 (diff)
downloadupstream-edea3f2ecf81d7d08bebaf4d3b7af29b09ac74d8.tar.gz
upstream-edea3f2ecf81d7d08bebaf4d3b7af29b09ac74d8.tar.bz2
upstream-edea3f2ecf81d7d08bebaf4d3b7af29b09ac74d8.zip
[brcm63xx] fix gpio button key code, match button-hotplug code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21253 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.33')
-rw-r--r--target/linux/brcm63xx/patches-2.6.33/100-reset_buttons.patch4
-rw-r--r--target/linux/brcm63xx/patches-2.6.33/150-alice_gate2_leds.patch2
-rw-r--r--target/linux/brcm63xx/patches-2.6.33/221-board-NB4.patch10
3 files changed, 8 insertions, 8 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.33/100-reset_buttons.patch b/target/linux/brcm63xx/patches-2.6.33/100-reset_buttons.patch
index 292e0a7cc9..02b4149ddd 100644
--- a/target/linux/brcm63xx/patches-2.6.33/100-reset_buttons.patch
+++ b/target/linux/brcm63xx/patches-2.6.33/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,
+ },
+ },
diff --git a/target/linux/brcm63xx/patches-2.6.33/150-alice_gate2_leds.patch b/target/linux/brcm63xx/patches-2.6.33/150-alice_gate2_leds.patch
index 7795f99efd..8e53a60e4b 100644
--- a/target/linux/brcm63xx/patches-2.6.33/150-alice_gate2_leds.patch
+++ b/target/linux/brcm63xx/patches-2.6.33/150-alice_gate2_leds.patch
@@ -56,7 +56,7 @@
+ .gpio = 37,
+ .active_low = 1,
+ .type = EV_KEY,
-+ .code = BTN_0,
++ .code = KEY_RESTART,
+ .threshold = 3,
+ },
+ },
diff --git a/target/linux/brcm63xx/patches-2.6.33/221-board-NB4.patch b/target/linux/brcm63xx/patches-2.6.33/221-board-NB4.patch
index 6e58b5f726..57ce7fc8d9 100644
--- a/target/linux/brcm63xx/patches-2.6.33/221-board-NB4.patch
+++ b/target/linux/brcm63xx/patches-2.6.33/221-board-NB4.patch
@@ -123,7 +123,7 @@
+ .gpio = 34,
+ .active_low = 1,
+ .type = EV_KEY,
-+ .code = BTN_0,
++ .code = KEY_RESTART,
+ .threshold = 3,
+ },
+ },
@@ -209,7 +209,7 @@
+ .gpio = 34,
+ .active_low = 1,
+ .type = EV_KEY,
-+ .code = BTN_0,
++ .code = KEY_RESTART,
+ .threshold = 3,
+ },
+ },
@@ -293,7 +293,7 @@
+ .gpio = 34,
+ .active_low = 1,
+ .type = EV_KEY,
-+ .code = BTN_0,
++ .code = KEY_RESTART,
+ .threshold = 3,
+ },
+ },
@@ -374,7 +374,7 @@
+ .gpio = 34,
+ .active_low = 1,
+ .type = EV_KEY,
-+ .code = BTN_0,
++ .code = KEY_RESTART,
+ .threshold = 3,
+ },
+ },
@@ -453,7 +453,7 @@
+ .gpio = 34,
+ .active_low = 1,
+ .type = EV_KEY,
-+ .code = BTN_0,
++ .code = KEY_RESTART,
+ .threshold = 3,
+ },
+ },