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.32/100-reset_buttons.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target/linux/brcm63xx/patches-2.6.32/100-reset_buttons.patch') 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, + }, + }, -- cgit v1.2.3