Skip to content

Commit

Permalink
serial: sh-sci: Shut up compiler warning for SH-X3 SCIF.
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Sep 21, 2007
1 parent 9904494 commit 1760b7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/serial/sh-sci.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1760b7d

Please sign in to comment.