diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2016-06-23 22:28:54 +0200 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-08-25 12:13:16 +0300 |
commit | ed6fe1f50f0c0fdea674dfa739af50011034bdfa (patch) | |
tree | dbada81794a93f215917f4e3040daeebf8da099b /samples | |
parent | 00af62330c39a6c88615a08e7f9d068944e4af69 (diff) | |
download | linux-ed6fe1f50f0c0fdea674dfa739af50011034bdfa.tar.bz2 |
usb: gadget: f_hid: add dev to configfs
Even if the /dev/hidg* chardev is automatically created, one
has to guess which one belongs to which function. In the case
of multiple HID functions, or maybe even multiple peripherals,
this becomes difficult.
Add the dev (with major and minor number) to configfs to allow
looking up (or even creating) the right device node for each
function. This file is read-only.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions