[PATCH] cpm_uart: cpm_uart_set_termios should take ktermios, not termios

Scott Wood scottwood at freescale.com
Wed May 9 03:19:21 EST 2007


This eliminates some warnings.

Signed-off-by: Scott Wood <scottwood at freescale.com>
---
 drivers/serial/cpm_uart/cpm_uart_core.c |    3 ++-
 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 7a3b97f..6823b8b 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)
 }
 
 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;
-- 
1.5.0.3



More information about the Linuxppc-dev mailing list