aboutsummaryrefslogtreecommitdiffstats
path: root/target
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
commitb29ef93886b74d380b826ea0ac86393aa01632cd (patch)
tree571f0f85e71997bbb64e6cfe35b41d7ca3d356fc /target
parent5af6e7724b53fbb6acaa13ab386645bfc595e891 (diff)
downloadupstream-b29ef93886b74d380b826ea0ac86393aa01632cd.tar.gz
upstream-b29ef93886b74d380b826ea0ac86393aa01632cd.tar.bz2
upstream-b29ef93886b74d380b826ea0ac86393aa01632cd.zip
fix gpio button key code, match button-hotplug code
SVN-Revision: 21253
Diffstat (limited to 'target')
-rw-r--r--target/linux/brcm63xx/patches-2.6.32/100-reset_buttons.patch4
-rw-r--r--target/linux/brcm63xx/patches-2.6.32/150-alice_gate2_leds.patch2
-rw-r--r--target/linux/brcm63xx/patches-2.6.32/221-board-NB4.patch10
-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
6 files changed, 16 insertions, 16 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 71d8e4741f..7b8501e9e4 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,
+ },
+ },
diff --git a/target/linux/brcm63xx/patches-2.6.32/150-alice_gate2_leds.patch b/target/linux/brcm63xx/patches-2.6.32/150-alice_gate2_leds.patch
index 10a7fd9212..7b3f9ff5a9 100644
--- a/target/linux/brcm63xx/patches-2.6.32/150-alice_gate2_leds.patch
+++ b/target/linux/brcm63xx/patches-2.6.32/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.32/221-board-NB4.patch b/target/linux/brcm63xx/patches-2.6.32/221-board-NB4.patch
index 6e58b5f726..57ce7fc8d9 100644
--- a/target/linux/brcm63xx/patches-2.6.32/221-board-NB4.patch
+++ b/target/linux/brcm63xx/patches-2.6.32/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,
+ },
+ },
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,
+ },
+ },