]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] Fix AMBA serial drivers for non-first serial ports
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Mon, 22 Jan 2007 18:59:42 +0000 (18:59 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 24 Jan 2007 11:59:57 +0000 (11:59 +0000)
commitd28122a5877cc40350fa801353fd5a9350563ec3
treee06ed644c3fe537f35dfd87e8acebffe7f1b8e4f
parent7f215abc69302dc027f024fe656e4841063e8fe8
[ARM] Fix AMBA serial drivers for non-first serial ports

Using console=ttyAM1 or console=ttyAMA1 resulted in an oops during
boot due to trying to drive the console before that port had been
registered.  Fix this by checking whether the port is present before
allowing console setup to proceed.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/serial/amba-pl010.c
drivers/serial/amba-pl011.c