mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
[SPARC64] Fix sunsab ports ordering
Register second SAB port before the first one, as serial A is wired to it, and expected to appear as ttyS0. Signed-off-by: Marc Zyngier <maz@misterjones.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
06ffd7956e
commit
44f2650b13
1 changed files with 1 additions and 1 deletions
|
@ -1061,8 +1061,8 @@ static int __devinit sab_probe(struct of_device *op, const struct of_device_id *
|
|||
return err;
|
||||
}
|
||||
|
||||
uart_add_one_port(&sunsab_reg, &up[0].port);
|
||||
uart_add_one_port(&sunsab_reg, &up[1].port);
|
||||
uart_add_one_port(&sunsab_reg, &up[0].port);
|
||||
|
||||
dev_set_drvdata(&op->dev, &up[0]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue