Browse Source

[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>
Scott Wood 18 years ago
parent
commit
1bda8f3056
1 changed files with 2 additions and 1 deletions
  1. 2 1
      drivers/serial/cpm_uart/cpm_uart_core.c

+ 2 - 1
drivers/serial/cpm_uart/cpm_uart_core.c

@@ -482,7 +482,8 @@ static void cpm_uart_shutdown(struct uart_port *port)
 }
 
 static void cpm_uart_set_termios(struct uart_port *port,
-				 struct termios *termios, struct termios *old)
+                                 struct ktermios *termios,
+                                 struct ktermios *old)
 {
 	int baud;
 	unsigned long flags;