aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Damien Le Moal <dlemoal@kernel.org> 2024-03-25 16:09:20 +0900
committerGravatar Bjorn Helgaas <bhelgaas@google.com> 2024-04-25 12:53:30 -0500
commit002e8e0bab4c0e902d9746f5061ad1ff4d60efb6 (patch)
treec60d9d2602a763f74f358c6acc6f289cca2faeae
parentntb: idt: Use PCI_IRQ_INTX instead of PCI_IRQ_LEGACY (diff)
downloadlinux-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.c2
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;