summaryrefslogtreecommitdiff
path: root/drivers/serial/cpm_uart
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2007-05-08 17:19:21 (GMT)
committerKumar Gala <galak@kernel.crashing.org>2007-05-10 04:05:48 (GMT)
commit1bda8f3056126ccdbe10c747e00dd9e61cca48ca (patch)
tree5425678d805347d41f6fdc8effd413ea6aa002ab /drivers/serial/cpm_uart
parent4c35630ccda56ed494f6102d2e147fefe14b78d2 (diff)
downloadlinux-fsl-qoriq-1bda8f3056126ccdbe10c747e00dd9e61cca48ca.tar.xz
[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/cpm_uart')
-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 f23972b..b63ff8d 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;