]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
serial: sh-sci: Shut up compiler warning for SH-X3 SCIF.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 8 Aug 2007 07:57:05 +0000 (16:57 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 21 Sep 2007 02:57:49 +0000 (11:57 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/serial/sh-sci.h

index cf75466ebf57eb19835f89d99788605a9d5b397f..941c504fe80dcc2754104cb4c3525d6951f7e7f9 100644 (file)
@@ -653,6 +653,7 @@ static inline int sci_rxd_in(struct uart_port *port)
                return ctrl_inw(SCSPTR2) & 0x0001 ? 1 : 0; /* SCIF */
        if (port->mapbase == 0xffc60000)
                return ctrl_inw(SCSPTR3) & 0x0001 ? 1 : 0; /* SCIF */
+       return 1;
 }
 #endif