X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=package%2Fkernel%2Fbutton-hotplug%2Fsrc%2Fbutton-hotplug.c;h=8f84eb108463b80ae185b9708aed0b2999b83803;hb=da045600796190ab7f2bc8cc5f1d9b4a5afdcdea;hp=4a8c4a88ed4e0a91b040c204b2636a919d8bc18d;hpb=4d953d3a481dd847524eae78c7aae00153bc7efd;p=openwrt.git diff --git a/package/kernel/button-hotplug/src/button-hotplug.c b/package/kernel/button-hotplug/src/button-hotplug.c index 4a8c4a88ed..8f84eb1084 100644 --- a/package/kernel/button-hotplug/src/button-hotplug.c +++ b/package/kernel/button-hotplug/src/button-hotplug.c @@ -84,9 +84,10 @@ static struct bh_map button_map[] = { BH_MAP(BTN_8, "BTN_8"), BH_MAP(BTN_9, "BTN_9"), BH_MAP(KEY_RESTART, "reset"), -#ifdef KEY_WPS_BUTTON + BH_MAP(KEY_POWER, "power"), + BH_MAP(KEY_RFKILL, "rfkill"), BH_MAP(KEY_WPS_BUTTON, "wps"), -#endif /* KEY_WPS_BUTTON */ + BH_MAP(KEY_WIMAX, "wwan"), }; /* -------------------------------------------------------------------------*/