提交 ca4ff100 编写于 作者: J Jiri Slaby 提交者: Greg Kroah-Hartman

TTY: usb-serial, use tty_port_install

To have tty->port set in ->install.
Signed-off-by: NJiri Slaby <jslaby@suse.cz>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 bc1e99d9
...@@ -207,7 +207,7 @@ static int serial_install(struct tty_driver *driver, struct tty_struct *tty) ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册