button-hotplug: sync list of supported keys with gpio-button-hotplug
authorJohn Crispin <john@openwrt.org>
Thu, 7 Nov 2013 12:46:20 +0000 (12:46 +0000)
committerJohn Crispin <john@openwrt.org>
Thu, 7 Nov 2013 12:46:20 +0000 (12:46 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38676

package/kernel/button-hotplug/src/button-hotplug.c

index 684a0c6e3dbd39c9e2d994c22c01edccea5ce58a..df50a23018c47568e2181cde9bed07f8fd18b9c1 100644 (file)
@@ -85,6 +85,7 @@ static struct bh_map button_map[] = {
        BH_MAP(BTN_9,           "BTN_9"),
        BH_MAP(KEY_RESTART,     "reset"),
        BH_MAP(KEY_POWER,       "power"),
        BH_MAP(BTN_9,           "BTN_9"),
        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 */
 #ifdef KEY_WPS_BUTTON
        BH_MAP(KEY_WPS_BUTTON,  "wps"),
 #endif /* KEY_WPS_BUTTON */