gpio-button-hotplug: add support for power buttons

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38557
owl
John Crispin 2013-10-28 13:45:57 +00:00
parent 7f1463623f
commit 14457da13f
1 changed files with 1 additions and 0 deletions

View File

@ -90,6 +90,7 @@ static struct bh_map button_map[] = {
BH_MAP(BTN_7, "BTN_7"), BH_MAP(BTN_7, "BTN_7"),
BH_MAP(BTN_8, "BTN_8"), BH_MAP(BTN_8, "BTN_8"),
BH_MAP(BTN_9, "BTN_9"), BH_MAP(BTN_9, "BTN_9"),
BH_MAP(KEY_POWER, "power"),
BH_MAP(KEY_RESTART, "reset"), BH_MAP(KEY_RESTART, "reset"),
BH_MAP(KEY_RFKILL, "rfkill"), BH_MAP(KEY_RFKILL, "rfkill"),
BH_MAP(KEY_WPS_BUTTON, "wps"), BH_MAP(KEY_WPS_BUTTON, "wps"),