diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2014-03-28 20:52:56 +0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-05-30 21:24:34 +0400 |
commit | e521519a84f6d796d3cff756969cd5902c9550dd (patch) | |
tree | d2f3b20b69188cec69a86c72259e927654d7b906 /drivers/pci | |
parent | 57526136532408bacf2f68c26027abc2924b45d1 (diff) | |
download | linux-e521519a84f6d796d3cff756969cd5902c9550dd.tar.xz |
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 <l.stach@pengutronix.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Richard Zhu <r65037@freescale.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/host/pci-imx6.c | 6 |
1 files changed, 0 insertions, 6 deletions
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; |