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