diff options
author | hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2014-01-14 23:11:10 +0000 |
---|---|---|
committer | hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2014-01-14 23:11:10 +0000 |
commit | da045600796190ab7f2bc8cc5f1d9b4a5afdcdea (patch) | |
tree | 19c3165dedd72c45b8b486bd43abdde20dd90702 /package/kernel/button-hotplug | |
parent | 2676e66f1588ca94ded0605d11f358f5ca9eac4c (diff) |
gpio-button-hotplug: add wwan button
The wimax key will be used as a generic wwan key starting with Linux
3.13. The brcm47xx target uses this key for the 3g buttons. Also remove
the ifdef around KEY_WPS_BUTTON, this is in the kernel for a long time
now.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39290 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/button-hotplug')
-rw-r--r-- | package/kernel/button-hotplug/src/button-hotplug.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/package/kernel/button-hotplug/src/button-hotplug.c b/package/kernel/button-hotplug/src/button-hotplug.c index df50a23018..8f84eb1084 100644 --- a/package/kernel/button-hotplug/src/button-hotplug.c +++ b/package/kernel/button-hotplug/src/button-hotplug.c @@ -86,9 +86,8 @@ static struct bh_map button_map[] = { BH_MAP(KEY_RESTART, "reset"), BH_MAP(KEY_POWER, "power"), BH_MAP(KEY_RFKILL, "rfkill"), -#ifdef KEY_WPS_BUTTON BH_MAP(KEY_WPS_BUTTON, "wps"), -#endif /* KEY_WPS_BUTTON */ + BH_MAP(KEY_WIMAX, "wwan"), }; /* -------------------------------------------------------------------------*/ |