mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 04:31:50 +00:00
scsi: pmcraid: Use PCI_IRQ_INTX instead of PCI_IRQ_LEGACY
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro. Link: https://lore.kernel.org/r/20240325070944.3600338-27-dlemoal@kernel.org Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
4571f14594
commit
1e1127d579
@ -4033,7 +4033,7 @@ static int
|
||||
pmcraid_register_interrupt_handler(struct pmcraid_instance *pinstance)
|
||||
{
|
||||
struct pci_dev *pdev = pinstance->pdev;
|
||||
unsigned int irq_flag = PCI_IRQ_LEGACY, flag;
|
||||
unsigned int irq_flag = PCI_IRQ_INTX, flag;
|
||||
int num_hrrq, rc, i;
|
||||
irq_handler_t isr;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user