提交 5b4bbb3d 编写于 作者: D David S. Miller

[SERIAL] sunsab: Fix significant typo in sab_probe()

Instead of initializing both ports of a SAB device
properly, we were setting up the first port
structure twice and ending up only with the second
port, oops.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 c964521c
......@@ -1052,7 +1052,7 @@ static int __devinit sab_probe(struct of_device *op, const struct of_device_id *
if (err)
return err;
err = sunsab_init_one(&up[0], op, 0,
err = sunsab_init_one(&up[1], op, 0,
(inst * 2) + 1);
if (err) {
of_iounmap(up[0].port.membase,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部