Commit d608ab99 authored by Martin Michlmayr's avatar Martin Michlmayr Committed by Russell King

[SERIAL] dz: Fix compilation error

Fix the following compilation error in the dz serial driver that got
introduced with the "kernel console should send CRLF not LFCR" change.

  CC      drivers/serial/dz.o
drivers/serial/dz.c: In function 'dz_console_putchar':
drivers/serial/dz.c:679: error: 'uport' undeclared (first use in this function)
drivers/serial/dz.c:679: error: (Each undeclared identifier is reported only once
drivers/serial/dz.c:679: error: for each function it appears in.)
Signed-off-by: default avatarMartin Michlmayr <tbm@cyrius.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent b862f3b0
...@@ -673,7 +673,7 @@ static void dz_reset(struct dz_port *dport) ...@@ -673,7 +673,7 @@ static void dz_reset(struct dz_port *dport)
} }
#ifdef CONFIG_SERIAL_DZ_CONSOLE #ifdef CONFIG_SERIAL_DZ_CONSOLE
static void dz_console_putchar(struct uart_port *port, int ch) static void dz_console_putchar(struct uart_port *uport, int ch)
{ {
struct dz_port *dport = (struct dz_port *)uport; struct dz_port *dport = (struct dz_port *)uport;
unsigned long flags; unsigned long flags;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment