From: John Crispin Date: Mon, 28 Oct 2013 13:45:57 +0000 (+0000) Subject: gpio-button-hotplug: add support for power buttons X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=14457da13f7a96daae8e3eec4da7fd45133f08ad;p=openwrt%2Fstaging%2Fblocktrron.git gpio-button-hotplug: add support for power buttons Signed-off-by: John Crispin SVN-Revision: 38557 --- 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 ea6f94ba43..927f37dccf 100644 --- a/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c +++ b/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c @@ -90,6 +90,7 @@ static struct bh_map button_map[] = { BH_MAP(BTN_7, "BTN_7"), BH_MAP(BTN_8, "BTN_8"), BH_MAP(BTN_9, "BTN_9"), + BH_MAP(KEY_POWER, "power"), BH_MAP(KEY_RESTART, "reset"), BH_MAP(KEY_RFKILL, "rfkill"), BH_MAP(KEY_WPS_BUTTON, "wps"),