aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/gpio-button-hotplug
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2014-01-14 23:11:10 +0000
committerHauke Mehrtens <hauke@openwrt.org>2014-01-14 23:11:10 +0000
commit21bb75a9376d45c433c46c2ab4a2d2eb9b5edff8 (patch)
tree19c3165dedd72c45b8b486bd43abdde20dd90702 /package/kernel/gpio-button-hotplug
parent7e841ddd7c39637b7dd7cd43382ab22bc5d74a33 (diff)
downloadupstream-21bb75a9376d45c433c46c2ab4a2d2eb9b5edff8.tar.gz
upstream-21bb75a9376d45c433c46c2ab4a2d2eb9b5edff8.tar.bz2
upstream-21bb75a9376d45c433c46c2ab4a2d2eb9b5edff8.zip
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/gpio-button-hotplug')
-rw-r--r--package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c b/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c
index 780736c89b..6b69d2751c 100644
--- a/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c
+++ b/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c
@@ -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"),
};
/* -------------------------------------------------------------------------*/