diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2007-01-22 18:59:42 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-01-24 11:59:57 +0000 |
commit | d28122a5877cc40350fa801353fd5a9350563ec3 (patch) | |
tree | e06ed644c3fe537f35dfd87e8acebffe7f1b8e4f /lib/idr.c | |
parent | 7f215abc69302dc027f024fe656e4841063e8fe8 (diff) |
[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>
Diffstat (limited to 'lib/idr.c')
0 files changed, 0 insertions, 0 deletions