diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2018-04-24 11:04:34 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2018-04-26 15:17:31 +0300 |
commit | c554bb045511bd6b498b6a61cffa48e473853703 (patch) | |
tree | 484dc707f8b33d1c3f24790ec8a2d46049745cee /include/linux/hid.h | |
parent | f07b3c1da92db108662f99417a212fc1eddc44d1 (diff) | |
download | linux-c554bb045511bd6b498b6a61cffa48e473853703.tar.xz |
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.h | 1 |
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 */ }; |