summaryrefslogtreecommitdiff
path: root/drivers/pci/host
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2014-03-28 17:52:56 +0100
committerNitin Garg <nitin.garg@freescale.com>2015-09-17 09:20:21 -0500
commitb143c422be97314daf9b682dbfa10399e705bd95 (patch)
tree2e8db043886f70f4a67c275c969329e9b73968dd /drivers/pci/host
parent497577c830d3d4d1a3af998d000fb05a44ef77eb (diff)
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> (cherry picked from commit e521519a84f6d796d3cff756969cd5902c9550dd)
Diffstat (limited to 'drivers/pci/host')
-rw-r--r--drivers/pci/host/pci-imx6.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c
index 4ee02e00bd9f..8b2f26f044a0 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;