aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2007-05-08 12:19:21 -0500
committerKumar Gala <galak@kernel.crashing.org>2007-05-09 23:05:48 -0500
commit1bda8f3056126ccdbe10c747e00dd9e61cca48ca (patch)
tree5425678d805347d41f6fdc8effd413ea6aa002ab
parent4c35630ccda56ed494f6102d2e147fefe14b78d2 (diff)
downloadkernel_samsung_smdk4412-1bda8f3056126ccdbe10c747e00dd9e61cca48ca.zip
kernel_samsung_smdk4412-1bda8f3056126ccdbe10c747e00dd9e61cca48ca.tar.gz
kernel_samsung_smdk4412-1bda8f3056126ccdbe10c747e00dd9e61cca48ca.tar.bz2
[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>
-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;