diff options
| author | Russell King <rmk@flint.arm.linux.org.uk> | 2002-12-01 16:38:04 +0000 |
|---|---|---|
| committer | Russell King <rmk@flint.arm.linux.org.uk> | 2002-12-01 16:38:04 +0000 |
| commit | 493c66851eb42271bdcbb5a092f1402bce146872 (patch) | |
| tree | d970cbeb77cb418159f286444bc0544686d2a1ab /kernel | |
| parent | 9f22efdf0bb455ff1e2b683c740d81baa7668444 (diff) | |
[SERIAL] uart_get_divisor() and uart_get_baud_rate() takes termios.
Currently, uart_get_divisor() and uart_get_baud_rate() take a tty
structure. We really want them to take a termios structure so we
can avoid passing a tty structure all the way down to the low level
drivers.
In order to do this, we need to be able to convert a termios
structure to a numeric baud rate - we provide tty_termios_baud_rate() in
tty_io.c for this purpose. It performs a subset of the
tty_get_baud_rate() functionality, but without any "alt_speed"
kludge.
We finally export uart_get_baud_rate() and uart_get_divisor() to for
low level drivers to use. We now have all the functions in place
to support ports which want to have access to the real baud rate
rather than a divisor value.
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/ksyms.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/ksyms.c b/kernel/ksyms.c index 092018c75a66..98093272d3e8 100644 --- a/kernel/ksyms.c +++ b/kernel/ksyms.c @@ -353,13 +353,8 @@ EXPORT_SYMBOL(generic_file_writev); EXPORT_SYMBOL(iov_shorten); /* tty routines */ -EXPORT_SYMBOL(tty_hangup); EXPORT_SYMBOL(tty_wait_until_sent); -EXPORT_SYMBOL(tty_check_change); -EXPORT_SYMBOL(tty_hung_up_p); EXPORT_SYMBOL(tty_flip_buffer_push); -EXPORT_SYMBOL(tty_get_baud_rate); -EXPORT_SYMBOL(do_SAK); /* filesystem registration */ EXPORT_SYMBOL(register_filesystem); |
