PCI: tegra: Use new OF interrupt mapping when possible
authorLucas Stach <l.stach@pengutronix.de>
Mon, 14 Apr 2014 20:56:51 +0000 (14:56 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 14 Apr 2014 20:56:51 +0000 (14:56 -0600)
commit4356e1a33b132d86e19a772ed62e77645b03f8f2
treeac3eba39fdab8dad57d3e8bd9451868f515ef9e2
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5
PCI: tegra: Use new OF interrupt mapping when possible

Use new OF interrupt mapping (of_irq_parse_and_map_pci()) when possible.
This is the recommended method of doing the IRQ mapping.  For old
devicetrees we fall back to the previous practice.

This allows interrupts to be remapped across bridges.

Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
drivers/pci/host/pci-tegra.c