PCI: iproc: Allow override of device tree IRQ mapping function
authorHauke Mehrtens <hauke@hauke-m.de>
Tue, 12 May 2015 21:23:00 +0000 (23:23 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 20 May 2015 14:19:40 +0000 (09:19 -0500)
commitc1e02ceaf5739d32f092ac07bf886a0281ec40b1
tree670377245f8b8541ba5b43f08db8939107bd4677
parent5ebe6afaf0057ac3eaeb98defd5456894b446d22
PCI: iproc: Allow override of device tree IRQ mapping function

The iProc core PCIe driver defaults to using of_irq_parse_and_map_pci() for
IRQ mapping.  Add iproc_pcie.map_irq so bus interfaces that don't use
device tree can override this by supplying their own IRQ mapping function.

[bhelgaas: changelog]
Posting: http://lkml.kernel.org/r/1431465781-10753-1-git-send-email-hauke@hauke-m.de
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Ray Jui <rjui@broadcom.com.com>
drivers/pci/host/pcie-iproc-platform.c
drivers/pci/host/pcie-iproc.c
drivers/pci/host/pcie-iproc.h