aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/hid.h
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2018-04-24 10:04:34 +0200
committerJiri Kosina <jkosina@suse.cz>2018-04-26 14:17:31 +0200
commitc554bb045511bd6b498b6a61cffa48e473853703 (patch)
tree484dc707f8b33d1c3f24790ec8a2d46049745cee /include/linux/hid.h
parentHID: generic: create one input report per application type (diff)
downloadwireguard-linux-c554bb045511bd6b498b6a61cffa48e473853703.tar.xz
wireguard-linux-c554bb045511bd6b498b6a61cffa48e473853703.zip
HID: input: append a suffix matching the application
Given that we create one input node per application, we should name the input node accordingly to not lose userspace. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/linux/hid.h')
-rw-r--r--include/linux/hid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h
index bcc91bfdd2cb..f03d7a410c5d 100644
--- a/include/linux/hid.h
+++ b/include/linux/hid.h
@@ -512,6 +512,7 @@ struct hid_input {
struct list_head list;
struct hid_report *report;
struct input_dev *input;
+ const char *name;
bool registered;
struct list_head reports; /* the list of reports */
};