sh: fix sh-sci / early printk build on sh7723
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.
Signed-off-by Magnus Damm <[email protected]>
---
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 )
Paul Mundt
AppliedQuoted 6 lines · Magnus Damm
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.
Signed-off-by Magnus Damm <[email protected]>
Applied, thanks.