Skip to contentSkip to conversation

bcm63xx_uart: Fix serial driver compile breakage.

PATCH New Maxime Bizon 1 participant 1 message Nov 15, 2009 TTY layer and serial drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bcm63xx_uart: Fix serial driver compile breakage.

Hi Greg,

The recently merged bcm63xx uart driver 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.

---
 drivers/serial/bcm63xx_uart.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/serial/bcm63xx_uart.c +2 -2
index beddaa6..37ad0c4 100644
@@ -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;
 
Signature · 7 lines
1.6.3.3




-- 
Maxime