Browse Source

TTY: usb-serial, use tty_port_install

To have tty->port set in ->install.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Jiri Slaby 13 years ago
parent
commit
ca4ff100d3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/usb/serial/usb-serial.c

+ 1 - 1
drivers/usb/serial/usb-serial.c

@@ -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;