PCI: imx6: Drop old IRQ mapping
authorLucas Stach <l.stach@pengutronix.de>
Fri, 28 Mar 2014 16:52:56 +0000 (17:52 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 30 May 2014 17:24:34 +0000 (11:24 -0600)
We don't need this anymore.  The IRQs are now properly mapped through the
DT.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Richard Zhu <r65037@freescale.com>
drivers/pci/host/pci-imx6.c

index e080ae326ba609fa00d9f3bf7f9e6e7b86b60a2f..ccaeed88597ab064081adabc500f46d109f25197 100644 (file)
@@ -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;