|
@@ -207,7 +207,7 @@ static int serial_install(struct tty_driver *driver, struct tty_struct *tty)
|
|
if (retval)
|
|
if (retval)
|
|
goto error_get_interface;
|
|
goto error_get_interface;
|
|
|
|
|
|
- retval = tty_standard_install(driver, tty);
|
|
|
|
|
|
+ retval = tty_port_install(&port->port, driver, tty);
|
|
if (retval)
|
|
if (retval)
|
|
goto error_init_termios;
|
|
goto error_init_termios;
|
|
|
|
|