PCI: tegra: Use new OF interrupt mapping when possible
authorLucas Stach <l.stach@pengutronix.de>
Wed, 16 Apr 2014 16:24:32 +0000 (10:24 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 16 Apr 2014 16:24:32 +0000 (10:24 -0600)
commitf5d3352b2751f8de7e06e23a04ac0b4c474075e9
tree27ef650f23141829d5b4bb93b0b3ef1a259969f9
parentf8f2fe7355fb04dd129d49ac0ad440beb44f0f79
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