USB: console: add dummy __module_get
authorJohan Hovold <johan@kernel.org>
Mon, 16 Feb 2015 06:17:33 +0000 (13:17 +0700)
committerJohan Hovold <johan@kernel.org>
Thu, 26 Feb 2015 16:06:39 +0000 (17:06 +0100)
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>
drivers/usb/serial/console.c

Simple merge