From: Jiri Slaby Date: Mon, 4 Jun 2012 11:35:34 +0000 (+0200) Subject: TTY: usb-serial, use tty_port_install X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ca4ff100d36b2c1da93a0a121177f73eea154471;p=linux-beck.git TTY: usb-serial, use tty_port_install To have tty->port set in ->install. Signed-off-by: Jiri Slaby Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/serial/usb-serial.c b/drivers/usb/serial/usb-serial.c index 6a1b609a0d94..2dc92d5cbb1e 100644 --- a/drivers/usb/serial/usb-serial.c +++ b/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;