From: Marek BehĂșn Date: Mon, 22 Jul 2024 13:33:17 +0000 (+0200) Subject: gpio-button-hotplug: add vendor button handling X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=cbc8d072c8408a7bcaec5296aea222241485478c;p=openwrt%2Fstaging%2Fthess.git 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 Link: https://github.com/openwrt/openwrt/pull/13799 Signed-off-by: Robert Marko --- 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 e36494c2fe..17748219e8 100644 --- a/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c +++ b/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c @@ -100,6 +100,7 @@ static struct bh_map button_map[] = { BH_MAP(KEY_WIMAX, "wwan"), BH_MAP(KEY_WLAN, "wlan"), BH_MAP(KEY_WPS_BUTTON, "wps"), + BH_MAP(KEY_VENDOR, "vendor"), }; /* -------------------------------------------------------------------------*/