]> git.karo-electronics.de Git - linux-beck.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)
commitf8f2fe7355fb04dd129d49ac0ad440beb44f0f79
treebe7791180dd96d4cdffab9bd60a5f569762fe8c9
parentf86b3e392780050e5907f1c0f3cb6c4cc05fd6bb
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