linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] serial: Fix compilation error in dz.c
@ 2006-06-26 16:18 Martin Michlmayr
  2006-07-09 19:59 ` Russell King
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Michlmayr @ 2006-06-26 16:18 UTC (permalink / raw)
  To: rmk+serial; +Cc: linux-serial

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>


--- a/drivers/serial/dz.c
+++ b/drivers/serial/dz.c
@@ -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;

-- 
Martin Michlmayr
http://www.cyrius.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] serial: Fix compilation error in dz.c
  2006-06-26 16:18 [PATCH] serial: Fix compilation error in dz.c Martin Michlmayr
@ 2006-07-09 19:59 ` Russell King
  0 siblings, 0 replies; 2+ messages in thread
From: Russell King @ 2006-07-09 19:59 UTC (permalink / raw)
  To: Martin Michlmayr; +Cc: linux-serial

On Mon, Jun 26, 2006 at 06:18:11PM +0200, Martin Michlmayr wrote:
> 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>

Applied, thanks.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-09 19:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-26 16:18 [PATCH] serial: Fix compilation error in dz.c Martin Michlmayr
2006-07-09 19:59 ` Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).