]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
PCI: imx6: Drop old IRQ mapping
authorLucas Stach <l.stach@pengutronix.de>
Fri, 28 Mar 2014 16:52:56 +0000 (17:52 +0100)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:18:44 +0000 (21:18 -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>
(cherry picked from commit e521519a84f6d796d3cff756969cd5902c9550dd)

drivers/pci/host/pci-imx6.c

index 4ee02e00bd9fa20f31d924eb99ad4653d3591478..8b2f26f044a0f5c4927727cbc2aaf6873aa5bcf7 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;