Skip to content

Commit

Permalink
TTY: usb-serial, use tty_port_install
Browse files Browse the repository at this point in the history
To have tty->port set in ->install.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Jiri Slaby authored and Greg Kroah-Hartman committed Jun 14, 2012
1 parent bc1e99d commit ca4ff10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/serial/usb-serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ static int serial_install(struct tty_driver *driver, struct tty_struct *tty)
if (retval)
goto error_get_interface;

retval = tty_standard_install(driver, tty);
retval = tty_port_install(&port->port, driver, tty);
if (retval)
goto error_init_termios;

Expand Down

0 comments on commit ca4ff10

Please sign in to comment.