Searched hist:"5 ee0089b1f7057d8f783db37b2a8116cd114f6e5" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/usb/serial/ |
H A D | console.c | diff 5ee0089b1f7057d8f783db37b2a8116cd114f6e5 Mon Feb 16 00:17:33 CST 2015 Johan Hovold <johan@kernel.org> 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>
|