video: s3c_fb.c: fix build with CONFIG_HOTPLUG=n
[deliverable/linux.git] / drivers / serial / sunhv.c
index 1df5325faab2605d9be2bdcd2bc470981049459c..d548652dee5004f6608c3804ad33c07a072f6055 100644 (file)
@@ -184,8 +184,8 @@ static struct tty_struct *receive_chars(struct uart_port *port)
 {
        struct tty_struct *tty = NULL;
 
-       if (port->info != NULL)         /* Unopened serial console */
-               tty = port->info->port.tty;
+       if (port->state != NULL)                /* Unopened serial console */
+               tty = port->state->port.tty;
 
        if (sunhv_ops->receive_chars(port, tty))
                sun_do_break();
@@ -197,10 +197,10 @@ static void transmit_chars(struct uart_port *port)
 {
        struct circ_buf *xmit;
 
-       if (!port->info)
+       if (!port->state)
                return;
 
-       xmit = &port->info->xmit;
+       xmit = &port->state->xmit;
        if (uart_circ_empty(xmit) || uart_tx_stopped(port))
                return;
 
This page took 0.023974 seconds and 5 git commands to generate.