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
This commit is contained in:
Hauke Mehrtens 2014-01-14 23:11:10 +00:00
parent 7e841ddd7c
commit 21bb75a937
2 changed files with 2 additions and 2 deletions

View File

@ -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"),
};
/* -------------------------------------------------------------------------*/

View File

@ -96,6 +96,7 @@ static struct bh_map button_map[] = {
BH_MAP(KEY_RESTART, "reset"),
BH_MAP(KEY_RFKILL, "rfkill"),
BH_MAP(KEY_WPS_BUTTON, "wps"),
BH_MAP(KEY_WIMAX, "wwan"),
};
/* -------------------------------------------------------------------------*/