diff options
author | Johan Hovold <johan@kernel.org> | 2015-02-16 13:17:33 +0700 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2015-02-26 17:06:39 +0100 |
commit | 5ee0089b1f7057d8f783db37b2a8116cd114f6e5 (patch) | |
tree | b5616499da8fb19ed5e81c4cf3a73e0696dda600 /tools/perf/builtin-lock.c | |
parent | f6950344d3cf4a1e231b5828b50c4ac168db3886 (diff) |
USB: console: add dummy __module_get
Add call to __module_get when initialising the fake tty in
usb_console_setup to match the module_put in release_one_tty.
Note that the tty-driver (i.e. usb-serial core) must be compiled-in to
enable the usb console so the __module_get is essentially a noop as
driver->owner will be null.
Reported-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/builtin-lock.c')
0 files changed, 0 insertions, 0 deletions