]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/serial/m32r_sio.c
[SCSI] gdth: fix Error: Driver 'gdth' is already registered, aborting...
[linux-2.6-omap-h63xx.git] / drivers / serial / m32r_sio.c
index 6e09c8b395e8d4a5541f14223511904d76d9919e..c2bb11c02bdedebd73d6934f4f67702199e81a0d 100644 (file)
@@ -421,7 +421,7 @@ static void transmit_chars(struct uart_sio_port *up)
                up->port.icount.tx++;
                if (uart_circ_empty(xmit))
                        break;
-               while (!serial_in(up, UART_LSR) & UART_LSR_THRE);
+               while (!(serial_in(up, UART_LSR) & UART_LSR_THRE));
 
        } while (--count > 0);
 
@@ -539,7 +539,7 @@ static void serial_do_unlink(struct irq_info *i, struct uart_sio_port *up)
 static int serial_link_irq_chain(struct uart_sio_port *up)
 {
        struct irq_info *i = irq_lists + up->port.irq;
-       int ret, irq_flags = up->port.flags & UPF_SHARE_IRQ ? IRQF_SHARED : 0;
+       int ret, irq_flags = 0;
 
        spin_lock_irq(&i->lock);