提交 e521519a 编写于 作者: L Lucas Stach 提交者: Bjorn Helgaas

PCI: imx6: Drop old IRQ mapping

We don't need this anymore.  The IRQs are now properly mapped through the
DT.
Signed-off-by: NLucas Stach <l.stach@pengutronix.de>
Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
Acked-by: NRichard Zhu <r65037@freescale.com>
上级 57526136
...@@ -483,12 +483,6 @@ static int __init imx6_add_pcie_port(struct pcie_port *pp, ...@@ -483,12 +483,6 @@ static int __init imx6_add_pcie_port(struct pcie_port *pp,
{ {
int ret; int ret;
pp->irq = platform_get_irq(pdev, 0);
if (!pp->irq) {
dev_err(&pdev->dev, "failed to get irq\n");
return -ENODEV;
}
pp->root_bus_nr = -1; pp->root_bus_nr = -1;
pp->ops = &imx6_pcie_host_ops; pp->ops = &imx6_pcie_host_ops;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册