diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-06-04 13:35:34 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-13 17:30:54 -0700 |
commit | ca4ff100d36b2c1da93a0a121177f73eea154471 (patch) | |
tree | e4aa90d3ca271ecc42513bb9f979e5c8eeff1f69 /drivers/usb/serial | |
parent | bc1e99d93f096d5736c0bd3c2d17e13f27b6eb09 (diff) |
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>
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r-- | drivers/usb/serial/usb-serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/usb-serial.c b/drivers/usb/serial/usb-serial.c index 6a1b609a0d9..2dc92d5cbb1 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; |