Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 44f2650b authored by Marc Zyngier's avatar Marc Zyngier Committed by David S. Miller
Browse files

[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: default avatarMarc Zyngier <maz@misterjones.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 06ffd795
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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]);