mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
tty: USB serial termios bits
Various drivers have hacks to mangle termios structures. This stems from the fact there is no nice setup hook for configuring the termios settings when the port is created Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
ba15ab0e8d
commit
fe1ae7fdd2
11 changed files with 106 additions and 107 deletions
|
|
@ -1184,6 +1184,7 @@ int tty_init_termios(struct tty_struct *tty)
|
|||
tty->termios->c_ospeed = tty_termios_baud_rate(tty->termios);
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(tty_init_termios);
|
||||
|
||||
/**
|
||||
* tty_driver_install_tty() - install a tty entry in the driver
|
||||
|
|
|
|||
Loading…
Reference in a new issue