All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MIPS: BCM63xx: Fix serial driver compile breakage.
@ 2009-11-04 13:11 Maxime Bizon
  2009-11-04 13:50 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Maxime Bizon @ 2009-11-04 13:11 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: linux-mips


Hi Ralf,

bcm63xx does not compile on current linus' tree, could you please apply
the attached patch and send it to linus ? Thanks !



The driver missed a small API change while sitting in Ralf's tree, this
patch makes it compile again.

Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
---
 drivers/serial/bcm63xx_uart.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/serial/bcm63xx_uart.c b/drivers/serial/bcm63xx_uart.c
index beddaa6..37ad0c4 100644
--- a/drivers/serial/bcm63xx_uart.c
+++ b/drivers/serial/bcm63xx_uart.c
@@ -242,7 +242,7 @@ static void bcm_uart_do_rx(struct uart_port *port)
 	 * 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_port *port)
 		return;
 	}
 
-	xmit = &port->info->xmit;
+	xmit = &port->state->xmit;
 	if (uart_circ_empty(xmit))
 		goto txq_empty;
 
-- 
1.6.3.3




-- 
Maxime

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

* Re: [PATCH] MIPS: BCM63xx: Fix serial driver compile breakage.
  2009-11-04 13:11 [PATCH] MIPS: BCM63xx: Fix serial driver compile breakage Maxime Bizon
@ 2009-11-04 13:50 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2009-11-04 13:50 UTC (permalink / raw)
  To: Maxime Bizon; +Cc: linux-mips

On Wed, Nov 04, 2009 at 02:11:15PM +0100, Maxime Bizon wrote:

> To: Ralf Baechle <ralf@linux-mips.org>
> Cc: linux-mips@linux-mips.org

> bcm63xx does not compile on current linus' tree, could you please apply
> the attached patch and send it to linus ? Thanks !

Will do - but (rant starts here) please remember to cc the respective
mailing lists and and maintainers for drivers in the future.

  Ralf

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

end of thread, other threads:[~2009-11-04 13:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-04 13:11 [PATCH] MIPS: BCM63xx: Fix serial driver compile breakage Maxime Bizon
2009-11-04 13:50 ` Ralf Baechle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.