summaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2007-05-08 19:19:21 +0200
committerKumar Gala <galak@kernel.crashing.org>2007-05-10 06:05:48 +0200
commit1bda8f3056126ccdbe10c747e00dd9e61cca48ca (patch)
tree5425678d805347d41f6fdc8effd413ea6aa002ab /drivers/serial
parent[POWERPC] Change rheap functions to use ulongs instead of pointers (diff)
downloadlinux-1bda8f3056126ccdbe10c747e00dd9e61cca48ca.tar.xz
linux-1bda8f3056126ccdbe10c747e00dd9e61cca48ca.zip
[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)
}
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;