Message ID | 20230331075528.1300270-1-arnd@kernel.org (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Bjorn Helgaas |
Headers | show |
Series | PCI/MSI: provide dummy pci_msix_can_alloc_dyn() helper | expand |
diff --git a/include/linux/pci.h b/include/linux/pci.h index b50e5c79f7e3..f69f7939331e 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -1624,6 +1624,11 @@ pci_alloc_irq_vectors(struct pci_dev *dev, unsigned int min_vecs, flags, NULL); } +static inline bool pci_msix_can_alloc_dyn(struct pci_dev *dev) +{ + return false; +} + static inline struct msi_map pci_msix_alloc_irq_at(struct pci_dev *dev, unsigned int index, const struct irq_affinity_desc *affdesc) {