summaryrefslogtreecommitdiffstats
path: root/drivers/serial
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 /drivers/serial
parent4c35630ccda56ed494f6102d2e147fefe14b78d2 (diff)
downloadblackbird-op-linux-1bda8f3056126ccdbe10c747e00dd9e61cca48ca.tar.gz
blackbird-op-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;
OpenPOWER on IntegriCloud