From: Lucas Stach Date: Fri, 28 Mar 2014 16:52:56 +0000 (+0100) Subject: PCI: imx6: Drop old IRQ mapping X-Git-Tag: firefly_0821_release~176^2~3767^2~1^3~4 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e521519a84f6d796d3cff756969cd5902c9550dd;p=firefly-linux-kernel-4.4.55.git PCI: imx6: Drop old IRQ mapping We don't need this anymore. The IRQs are now properly mapped through the DT. Signed-off-by: Lucas Stach Signed-off-by: Bjorn Helgaas Acked-by: Richard Zhu --- diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c index e080ae326ba6..ccaeed88597a 100644 --- a/drivers/pci/host/pci-imx6.c +++ b/drivers/pci/host/pci-imx6.c @@ -483,12 +483,6 @@ static int __init imx6_add_pcie_port(struct pcie_port *pp, { 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->ops = &imx6_pcie_host_ops;