Skip to contentSkip to conversation

serial: Fix compilation error in dz.c

PATCH Applied Martin Michlmayr 2 participants 2 messages Jun 26, 2006 – Jul 9, 2006 TTY layer and serial drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 serial: Fix compilation error in dz.c

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.)

drivers/serial/dz.c +1 -1
@@ -674,7 +674,7 @@ static void dz_reset(struct dz_port *dpo
 }
 
 #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;
Signature · 2 lines
Martin Michlmayr
http://www.cyrius.com/
Applied
#1 lore raw
Quoted 10 lines · Martin Michlmayr

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.)

Applied, thanks.

Signature · 3 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core