linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 6/6] SERIAL: BCM63xx: Fix serial driver compile breakage.
       [not found] <20091105152555.227009519@linux-mips.org>
@ 2009-11-05 15:26 ` Ralf Baechle
  0 siblings, 0 replies; only message in thread
From: Ralf Baechle @ 2009-11-05 15:26 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Maxime Bizon, linux-mips, linux-serial, linux-kernel

[-- Attachment #1: 0009.patch --]
[-- Type: text/plain, Size: 1048 bytes --]

From: Maxime Bizon <mbizon@freebox.fr>

The driver missed an API change.

Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
Cc: linux-mips@linux-mips.org
Cc: linux-serial@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

 drivers/serial/bcm63xx_uart.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: upstream-linus/drivers/serial/bcm63xx_uart.c
===================================================================
--- upstream-linus.orig/drivers/serial/bcm63xx_uart.c
+++ upstream-linus/drivers/serial/bcm63xx_uart.c
@@ -242,7 +242,7 @@ static void bcm_uart_do_rx(struct uart_p
 	 * higher than fifo size anyway since we're much faster than
 	 * serial port */
 	max_count = 32;
-	tty = port->info->port.tty;
+	tty = port->state->port.tty;
 	do {
 		unsigned int iestat, c, cstat;
 		char flag;
@@ -318,7 +318,7 @@ static void bcm_uart_do_tx(struct uart_p
 		return;
 	}
 
-	xmit = &port->info->xmit;
+	xmit = &port->state->xmit;
 	if (uart_circ_empty(xmit))
 		goto txq_empty;
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-05 15:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20091105152555.227009519@linux-mips.org>
2009-11-05 15:26 ` [PATCH 6/6] SERIAL: BCM63xx: Fix serial driver compile breakage Ralf Baechle

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