[openwrt/openwrt] gpio-button-hotplug: add vendor button handling
LEDE Commits
lede-commits at lists.infradead.org
Fri Aug 2 13:11:12 PDT 2024
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/cbc8d072c8408a7bcaec5296aea222241485478c
commit cbc8d072c8408a7bcaec5296aea222241485478c
Author: Marek Behún <kabel at kernel.org>
AuthorDate: Mon Jul 22 15:33:17 2024 +0200
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 at kernel.org>
Link: https://github.com/openwrt/openwrt/pull/13799
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
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"),
};
/* -------------------------------------------------------------------------*/
More information about the lede-commits
mailing list