aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/usb-serial.c
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-06-04 13:35:33 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-13 17:30:53 -0700
commitbc1e99d93f096d5736c0bd3c2d17e13f27b6eb09 (patch)
tree174133b5869279f698f331bd6782ff8d5bff51ef /drivers/usb/serial/usb-serial.c
parentTTY: provide drivers with tty_port_install (diff)
downloadlinux-dev-bc1e99d93f096d5736c0bd3c2d17e13f27b6eb09.tar.xz
linux-dev-bc1e99d93f096d5736c0bd3c2d17e13f27b6eb09.zip
TTY: vt, add ->install
We need to initialize the console only on the first open. This is usually what is done in the ->install hook. vt used to do this in ->open. Now we move it to ->install and use newly added helper for install: tty_port_install. It ensures tty->port to be set properly. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/usb-serial.c')
0 files changed, 0 insertions, 0 deletions