Skip to contentSkip to conversation

sh: fix sh-sci / early printk build on sh7723

PATCH Applied Magnus Damm 2 participants 2 messages Jan 16, 2009 – Jan 20, 2009 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sh: fix sh-sci / early printk build on sh7723

From: Magnus Damm <[email protected]>

This patch adds the SCSPTR register to the sh-sci driver in the case of sh7723 to make sure early printk builds properly.

---

 drivers/serial/sh-sci.h |    1 +
 1 file changed, 1 insertion(+)
drivers/serial/sh-sci.h +1 -0
@@ -395,6 +395,7 @@ SCIx_FNS(SCSCR,  0x08, 16, 0x08, 16)
 SCIx_FNS(SCxTDR, 0x20,  8, 0x0c,  8)
 SCIx_FNS(SCxSR,  0x14, 16, 0x10, 16)
 SCIx_FNS(SCxRDR, 0x24,  8, 0x14,  8)
+SCIx_FNS(SCSPTR, 0,     0,    0,  0)
 SCIF_FNS(SCTDSR, 0x0c,  8)
 SCIF_FNS(SCFER,  0x10, 16)
 SCIF_FNS(SCFCR,  0x18, 16)