From b29ef93886b74d380b826ea0ac86393aa01632cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Huck?= Date: Thu, 29 Apr 2010 12:51:02 +0000 Subject: fix gpio button key code, match button-hotplug code SVN-Revision: 21253 --- target/linux/brcm63xx/patches-2.6.33/221-board-NB4.patch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'target/linux/brcm63xx/patches-2.6.33/221-board-NB4.patch') 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, + }, + }, -- cgit v1.2.3