]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/serial/sh-sci.h
serial: sh-sci: Shut up compiler warning for SH-X3 SCIF.
[karo-tx-linux.git] / 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