aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/button-hotplug/src/button-hotplug.c
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/button-hotplug/src/button-hotplug.c')
-rw-r--r--package/kernel/button-hotplug/src/button-hotplug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/kernel/button-hotplug/src/button-hotplug.c b/package/kernel/button-hotplug/src/button-hotplug.c
index 4a8c4a88ed..684a0c6e3d 100644
--- a/package/kernel/button-hotplug/src/button-hotplug.c
+++ b/package/kernel/button-hotplug/src/button-hotplug.c
@@ -84,6 +84,7 @@ static struct bh_map button_map[] = {
BH_MAP(BTN_8, "BTN_8"),
BH_MAP(BTN_9, "BTN_9"),
BH_MAP(KEY_RESTART, "reset"),
+ BH_MAP(KEY_POWER, "power"),
#ifdef KEY_WPS_BUTTON
BH_MAP(KEY_WPS_BUTTON, "wps"),
#endif /* KEY_WPS_BUTTON */