Skip to contentSkip to conversation

sh: Change register name SCSPTR to SCSPTR2

PATCH New Nobuhiro Iwamatsu 1 participant 1 message Oct 29, 2008 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sh: Change register name SCSPTR to SCSPTR2

This change a name of SCSPTR used in sci_rxd_in of SH5-101. SCSPTR is not declared and will become the error.

---
 drivers/serial/sh-sci.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/serial/sh-sci.h +1 -1
index cd4073e..f4bd93e 100644
@@ -605,7 +605,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, SCSPTR)&0x0001 ? 1 : 0; /* SCIF */
+         return sci_in(port, SCSPTR2)&0x0001 ? 1 : 0; /* SCIF */
 }
 #elif defined(__H8300H__) || defined(__H8300S__)
 static inline int sci_rxd_in(struct uart_port *port)
Signature · 1 line
1.5.6.5