Skip to content
  • Matthew Minter's avatar
    PCI: Add a call to pci_assign_irq() in pci_device_probe() · 30fdfb92
    Matthew Minter authored
    
    
    The pci_assign_irq() function allows assignment of an IRQ to devices during
    device enable time rather than only at boot.  Therefore call it in the
    pci_device_probe() function during the enable device code path so this
    assignment can be performed.
    
    This patch will do nothing on arches which do not set the IRQ mapping
    function pointers and is therefore currently a nop, however as support for
    these function pointers is added to arch-specific code this will cause IRQ
    assignment to migrate to device enable time allowing the new code paths to
    be used.
    
    Signed-off-by: default avatarMatthew Minter <matt@masarand.com>
    [lorenzo.pieralisi@arm.com: moved pci_assign_irq() call site]
    Signed-off-by: default avatarLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
    Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
    30fdfb92