projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9904494
)
serial: sh-sci: Shut up compiler warning for SH-X3 SCIF.
author
Paul Mundt
<lethal@linux-sh.org>
Wed, 8 Aug 2007 07:57:05 +0000
(16:57 +0900)
committer
Paul 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
patch
|
blob
|
history
diff --git
a/drivers/serial/sh-sci.h
b/drivers/serial/sh-sci.h
index cf75466ebf57eb19835f89d99788605a9d5b397f..941c504fe80dcc2754104cb4c3525d6951f7e7f9 100644
(file)
--- 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