gpio-button-hotplug: add vendor button handling
Handle the KEY_VENDOR key in gpio-button-hotplug driver. This is used by Turris Omnia. Signed-off-by: Marek Behún <kabel@kernel.org> Link: https://github.com/openwrt/openwrt/pull/13799 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
35aa38540a
commit
cbc8d072c8
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ static struct bh_map button_map[] = {
|
||||||
BH_MAP(KEY_WIMAX, "wwan"),
|
BH_MAP(KEY_WIMAX, "wwan"),
|
||||||
BH_MAP(KEY_WLAN, "wlan"),
|
BH_MAP(KEY_WLAN, "wlan"),
|
||||||
BH_MAP(KEY_WPS_BUTTON, "wps"),
|
BH_MAP(KEY_WPS_BUTTON, "wps"),
|
||||||
|
BH_MAP(KEY_VENDOR, "vendor"),
|
||||||
};
|
};
|
||||||
|
|
||||||
/* -------------------------------------------------------------------------*/
|
/* -------------------------------------------------------------------------*/
|
||||||
|
|
Loading…
Reference in a new issue