summaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-05-09 14:31:37 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-05-09 14:31:37 +0900
commite9e8b1fb995543c4cc3930f465923a552b2e48b7 (patch)
tree799d90e928bd3afd4ad97c435f4fba96a9ea3a61 /drivers/serial
parentcd89436e54b29a07a383ee82f2f718d8c9d24cc4 (diff)
downloadop-kernel-dev-e9e8b1fb995543c4cc3930f465923a552b2e48b7.zip
op-kernel-dev-e9e8b1fb995543c4cc3930f465923a552b2e48b7.tar.gz
sh: Fix up the sh64 earlyprintk build.
sci_rxd_in() on SH-5 wants to be using SCSPTR, not SCSPTR2. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/sh-sci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/sh-sci.h b/drivers/serial/sh-sci.h
index e3eae4e..38072c1 100644
--- a/drivers/serial/sh-sci.h
+++ b/drivers/serial/sh-sci.h
@@ -636,7 +636,7 @@ static inline int sci_rxd_in(struct uart_port *port)
#elif defined(CONFIG_CPU_SUBTYPE_SH5_101) || defined(CONFIG_CPU_SUBTYPE_SH5_103)
static inline int sci_rxd_in(struct uart_port *port)
{
- return sci_in(port, SCSPTR2)&0x0001 ? 1 : 0; /* SCIF */
+ return sci_in(port, SCSPTR)&0x0001 ? 1 : 0; /* SCIF */
}
#elif defined(__H8300H__) || defined(__H8300S__)
static inline int sci_rxd_in(struct uart_port *port)
OpenPOWER on IntegriCloud