From 14457da13f7a96daae8e3eec4da7fd45133f08ad Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 28 Oct 2013 13:45:57 +0000 Subject: [PATCH] gpio-button-hotplug: add support for power buttons Signed-off-by: John Crispin SVN-Revision: 38557 --- package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c | 1 + 1 file changed, 1 insertion(+) 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"), -- 2.30.2