aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2007-05-08 13:19:21 -0400
committerKumar Gala <galak@kernel.crashing.org>2007-05-10 00:05:48 -0400
commit1bda8f3056126ccdbe10c747e00dd9e61cca48ca (patch)
tree5425678d805347d41f6fdc8effd413ea6aa002ab /drivers/serial
parent4c35630ccda56ed494f6102d2e147fefe14b78d2 (diff)
[POWERPC] CPM_UART: cpm_uart_set_termios should take ktermios, not termios
This eliminates some warnings. Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/cpm_uart/cpm_uart_core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/serial/cpm_uart/cpm_uart_core.c b/drivers/serial/cpm_uart/cpm_uart_core.c
index f23972bc00c0..b63ff8dd7304 100644
--- a/drivers/serial/cpm_uart/cpm_uart_core.c
+++ b/drivers/serial/cpm_uart/cpm_uart_core.c
@@ -482,7 +482,8 @@ static void cpm_uart_shutdown(struct uart_port *port)
482} 482}
483 483
484static void cpm_uart_set_termios(struct uart_port *port, 484static void cpm_uart_set_termios(struct uart_port *port,
485 struct termios *termios, struct termios *old) 485 struct ktermios *termios,
486 struct ktermios *old)
486{ 487{
487 int baud; 488 int baud;
488 unsigned long flags; 489 unsigned long flags;