From cbc8d072c8408a7bcaec5296aea222241485478c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Beh=C3=BAn?= Date: Mon, 22 Jul 2024 15:33:17 +0200 Subject: [PATCH] gpio-button-hotplug: add vendor button handling MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- 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 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"), }; /* -------------------------------------------------------------------------*/ -- 2.30.2