diff options
author | Damien Le Moal <dlemoal@kernel.org> | 2024-03-25 16:09:20 +0900 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2024-04-25 12:53:30 -0500 |
commit | 002e8e0bab4c0e902d9746f5061ad1ff4d60efb6 (patch) | |
tree | c60d9d2602a763f74f358c6acc6f289cca2faeae | |
parent | ntb: idt: Use PCI_IRQ_INTX instead of PCI_IRQ_LEGACY (diff) | |
download | linux-002e8e0bab4c0e902d9746f5061ad1ff4d60efb6.tar.gz linux-002e8e0bab4c0e902d9746f5061ad1ff4d60efb6.tar.bz2 linux-002e8e0bab4c0e902d9746f5061ad1ff4d60efb6.zip |
mfd: intel-lpss: 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-10-dlemoal@kernel.org
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
-rw-r--r-- | drivers/mfd/intel-lpss-pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/intel-lpss-pci.c b/drivers/mfd/intel-lpss-pci.c index 8c00e0c695c5..9f4782bdbf4b 100644 --- a/drivers/mfd/intel-lpss-pci.c +++ b/drivers/mfd/intel-lpss-pci.c @@ -54,7 +54,7 @@ static int intel_lpss_pci_probe(struct pci_dev *pdev, if (ret) return ret; - ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_LEGACY); + ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_INTX); if (ret < 0) return ret; |