From 30d80a23d93d187771bc837c50c083a555820be3 Mon Sep 17 00:00:00 2001 From: rhk Date: Thu, 29 Apr 2010 12:51:02 +0000 Subject: [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 --- target/linux/brcm63xx/patches-2.6.33/100-reset_buttons.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target/linux/brcm63xx/patches-2.6.33/100-reset_buttons.patch') 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 292e0a7cc..02b4149dd 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, + }, + }, -- cgit v1.2.3