PCI: rcar: Use new OF interrupt mapping when possible
commitb9bfe1bca8ecccf3d1f015fd18fad52ed95f8033
authorLucas Stach <l.stach@pengutronix.de>
Mon, 7 Apr 2014 09:30:20 +0000 (7 11:30 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 15 Apr 2014 17:49:14 +0000 (15 11:49 -0600)
tree72200673602020215e651f4ed7b7172f35ab9186
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5
PCI: rcar: 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.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pci/host/pci-rcar-gen2.c