diff options
| author | Marek BehĂșn | 2024-07-22 13:33:17 +0000 |
|---|---|---|
| committer | Robert Marko | 2024-08-02 20:11:05 +0000 |
| commit | cbc8d072c8408a7bcaec5296aea222241485478c (patch) | |
| tree | d16e48d19036b40ce57d0e1b6ac4153677d4e28a | |
| parent | 35aa38540a804c3d735bb2661ac670d7afbfe25a (diff) | |
| download | openwrt-cbc8d072c8408a7bcaec5296aea222241485478c.tar.gz | |
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>
| -rw-r--r-- | package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c | 1 |
1 files changed, 1 insertions, 0 deletions
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"), }; /* -------------------------------------------------------------------------*/ |