[POWERPC] CPM_UART: cpm_uart_set_termios should take ktermios, not termios
authorScott Wood <scottwood@freescale.com>
Tue, 8 May 2007 17:19:21 +0000 (12:19 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 10 May 2007 04:05:48 +0000 (23:05 -0500)
This eliminates some warnings.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
drivers/serial/cpm_uart/cpm_uart_core.c

index f23972bc00c0e7a2552bc9015aebc4965462ee8c..b63ff8dd7304d8efd19d174a4ef9201d652ae6ae 100644 (file)
@@ -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;