]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[SERIAL] dz: Fix compilation error
authorMartin Michlmayr <tbm@cyrius.com>
Mon, 26 Jun 2006 16:18:11 +0000 (18:18 +0200)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 9 Jul 2006 20:11:09 +0000 (21:11 +0100)
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: Martin Michlmayr <tbm@cyrius.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/serial/dz.c

index d119c8296a78a96d69e697a61b7c60ebb96670d9..8a98aae80e228ffd8afc2c57b868b8394aa7d765 100644 (file)
@@ -673,7 +673,7 @@ static void dz_reset(struct dz_port *dport)
 }
 
 #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;
        unsigned long flags;