serial: sh-sci: Limit early console to one device.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 20 Jan 2011 15:05:48 +0000 (00:05 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 20 Jan 2011 15:05:48 +0000 (00:05 +0900)
commitecdf8a4607edfebbfd6baada8eaecf532bf38600
tree78548689f854f197ce49a792206fedd4f34029b8
parentbc9b3f5c9f3702e71066a4de0afe509a201d98b4
serial: sh-sci: Limit early console to one device.

Presently the early console setup will be invoked for every device handed
off to he earlyprintk command line argument. In practice we can only
handle one, so this adds a sanity check to prevent clobbering the
existing active console.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/serial/sh-sci.c