mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-12 08:16:43 +07:00
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>
This commit is contained in:
parent
bc1e99d93f
commit
ca4ff100d3
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user