提交 44f2650b 编写于 作者: M Marc Zyngier 提交者: David S. Miller

[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: NMarc Zyngier <maz@misterjones.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 06ffd795
......@@ -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]);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册