Skip to content

Commit

Permalink
PCI: imx6: Drop old IRQ mapping
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lucas Stach authored and Bjorn Helgaas committed May 30, 2014
1 parent 5752613 commit e521519
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/pci/host/pci-imx6.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit e521519

Please sign in to comment.