diff options
| author | 2012-06-04 13:35:34 +0200 | |
|---|---|---|
| committer | 2012-06-13 17:30:54 -0700 | |
| commit | ca4ff100d36b2c1da93a0a121177f73eea154471 (patch) | |
| tree | e4aa90d3ca271ecc42513bb9f979e5c8eeff1f69 | |
| parent | TTY: vt, add ->install (diff) | |
| download | linux-dev-ca4ff100d36b2c1da93a0a121177f73eea154471.tar.xz linux-dev-ca4ff100d36b2c1da93a0a121177f73eea154471.zip | |
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>
| -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 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; |
