projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc1e99d
)
TTY: usb-serial, use tty_port_install
author
Jiri Slaby
<jslaby@suse.cz>
Mon, 4 Jun 2012 11:35:34 +0000
(13:35 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 14 Jun 2012 00:30:54 +0000
(17:30 -0700)
To have tty->port set in ->install.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/usb-serial.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/serial/usb-serial.c
b/drivers/usb/serial/usb-serial.c
index 6a1b609a0d94cff247460de6716a71ecfadbe707..2dc92d5cbb1e20c70bb218ce4c18ed9046174926 100644
(file)
--- 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;