diff mbox

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

Message ID 20090116055102.10290.84974.sendpatchset@rx1.opensource.se (mailing list archive)
State Accepted
Commit a0e2db6a4a8d887dd03787d4e38a74bbe5caa2c4
Headers show

Commit Message

Magnus Damm Jan. 16, 2009, 5:51 a.m. UTC
From: Magnus Damm <damm@igel.co.jp>

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 <damm@igel.co.jp>
---

 drivers/serial/sh-sci.h |    1 +
 1 file changed, 1 insertion(+)

--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Paul Mundt Jan. 20, 2009, 3:20 a.m. UTC | #1
On Fri, Jan 16, 2009 at 02:51:02PM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm@igel.co.jp>
> 
> 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 <damm@igel.co.jp>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- 0001/drivers/serial/sh-sci.h
+++ work/drivers/serial/sh-sci.h	2009-01-15 19:44:05.000000000 +0900
@@ -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)