diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-08-08 16:57:05 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-09-21 11:57:49 +0900 |
commit | 1760b7d760b2804a87affcb8ec74edde8812a1ea (patch) | |
tree | f277b880a2d52175b88d81b76196e76598afc8e3 /drivers/serial | |
parent | 9904494d6a5303f6eebf6fe95a37bf1f952a3f5d (diff) | |
download | linux-1760b7d760b2804a87affcb8ec74edde8812a1ea.tar.gz linux-1760b7d760b2804a87affcb8ec74edde8812a1ea.tar.bz2 linux-1760b7d760b2804a87affcb8ec74edde8812a1ea.zip |
serial: sh-sci: Shut up compiler warning for SH-X3 SCIF.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/sh-sci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/sh-sci.h b/drivers/serial/sh-sci.h index cf75466ebf57..941c504fe80d 100644 --- a/drivers/serial/sh-sci.h +++ b/drivers/serial/sh-sci.h @@ -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 |