Commit ba1eedb6 authored by Russell King's avatar Russell King

[SERIAL] Fix build errors caused in previous cset.

parent 077746a2
...@@ -380,12 +380,6 @@ uart_get_baud_rate(struct uart_port *port, struct termios *termios, ...@@ -380,12 +380,6 @@ uart_get_baud_rate(struct uart_port *port, struct termios *termios,
EXPORT_SYMBOL(uart_get_baud_rate); EXPORT_SYMBOL(uart_get_baud_rate);
static inline unsigned int
uart_calculate_quot(struct uart_port *port, unsigned int baud)
{
return quot;
}
/** /**
* uart_get_divisor - return uart clock divisor * uart_get_divisor - return uart clock divisor
* @port: uart_port structure describing the port. * @port: uart_port structure describing the port.
...@@ -429,7 +423,6 @@ uart_change_speed(struct uart_info *info, struct termios *old_termios) ...@@ -429,7 +423,6 @@ uart_change_speed(struct uart_info *info, struct termios *old_termios)
struct tty_struct *tty = info->tty; struct tty_struct *tty = info->tty;
struct uart_port *port = info->port; struct uart_port *port = info->port;
struct termios *termios; struct termios *termios;
unsigned int quot;
/* /*
* If we have no tty, termios, or the port does not exist, * If we have no tty, termios, or the port does not exist,
......
...@@ -280,7 +280,7 @@ void uart_write_wakeup(struct uart_port *port); ...@@ -280,7 +280,7 @@ void uart_write_wakeup(struct uart_port *port);
*/ */
void uart_update_timeout(struct uart_port *port, unsigned int cflag, void uart_update_timeout(struct uart_port *port, unsigned int cflag,
unsigned int quot); unsigned int quot);
unsigned int uart_get_baud_rate(struct uart_port *port, struct termios *termios unsigned int uart_get_baud_rate(struct uart_port *port, struct termios *termios,
struct termios *old, unsigned int min, struct termios *old, unsigned int min,
unsigned int max); unsigned int max);
unsigned int uart_get_divisor(struct uart_port *port, struct termios *termios, unsigned int uart_get_divisor(struct uart_port *port, struct termios *termios,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment