diff options
author | Matthew Minter <matt@masarand.com> | 2017-06-28 22:14:02 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-07-02 23:14:28 +0200 |
commit | 47a650f2795b00297a5a3eab7aaa46bdb2bbe304 (patch) | |
tree | dc53baca14fc82a9c8819d0da2a2da5b1d527928 /drivers/of | |
parent | PCI: Add IRQ mapping function pointers to pci_host_bridge struct (diff) | |
download | linux-47a650f2795b00297a5a3eab7aaa46bdb2bbe304.tar.xz linux-47a650f2795b00297a5a3eab7aaa46bdb2bbe304.zip |
PCI: Add pci_assign_irq() function and have pci_fixup_irqs() use it
Here we delete the static pdev_fixup_irq() function which is currently what
pci_fixup_irqs() uses to actually assign the IRQs and replace it with the
pci_assign_irq() function which changes the interface and uses the new
function pointers stored in the host bridge structure.
Eventually this will allow pci_fixup_irqs() to be removed entirely and the
new deferred assignment code path will call pci_assign_irq() directly.
However to ensure current users continue to work, a new implementation of
pci_fixup_irqs() is introduced which simply wraps the functionality of
pci_assign_irq().
Signed-off-by: Matthew Minter <matt@masarand.com>
[lorenzo.pieralisi@arm.com: reworked comments/log]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/of')
0 files changed, 0 insertions, 0 deletions