diff options
| author | Marek BehĂșn <kabel@kernel.org> | 2024-07-22 15:33:17 +0200 |
|---|---|---|
| committer | Robert Marko <robimarko@gmail.com> | 2024-08-02 22:11:05 +0200 |
| commit | cbc8d072c8408a7bcaec5296aea222241485478c (patch) | |
| tree | d16e48d19036b40ce57d0e1b6ac4153677d4e28a /package/kernel/gpio-button-hotplug/src | |
| parent | 35aa38540a804c3d735bb2661ac670d7afbfe25a (diff) | |
| download | upstream-cbc8d072c8408a7bcaec5296aea222241485478c.tar.gz upstream-cbc8d072c8408a7bcaec5296aea222241485478c.tar.bz2 upstream-cbc8d072c8408a7bcaec5296aea222241485478c.zip | |
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>
Diffstat (limited to 'package/kernel/gpio-button-hotplug/src')
| -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 e36494c2fe2..17748219e8c 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"), }; /* -------------------------------------------------------------------------*/ |
