]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: rcar: Use new OF interrupt mapping when possible
authorLucas Stach <l.stach@pengutronix.de>
Wed, 16 Apr 2014 16:24:09 +0000 (10:24 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 16 Apr 2014 16:24:09 +0000 (10:24 -0600)
commit5414479a91b8920a42900e70b7033cd30601051a
treebe7791180dd96d4cdffab9bd60a5f569762fe8c9
parent6d9ac06728444ef5e02fe5b74e831e3f3950e33c
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