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

[SERIAL] sunzilog: Remove duplicate IRQ registry in zs_probe().

We do it now in sunzilog_init() after all devices have been
probed.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 8b3c848c
...@@ -1351,16 +1351,8 @@ static int __devinit zs_probe(struct of_device *op, const struct of_device_id *m ...@@ -1351,16 +1351,8 @@ static int __devinit zs_probe(struct of_device *op, const struct of_device_id *m
rp = sunzilog_chip_regs[inst]; rp = sunzilog_chip_regs[inst];
if (zilog_irq == -1) { if (zilog_irq == -1)
zilog_irq = op->irqs[0]; zilog_irq = op->irqs[0];
err = request_irq(zilog_irq, sunzilog_interrupt, IRQF_SHARED,
"zs", sunzilog_irq_chain);
if (err) {
of_iounmap(rp, sizeof(struct zilog_layout));
return err;
}
}
up = &sunzilog_port_table[inst * 2]; up = &sunzilog_port_table[inst * 2];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册