summaryrefslogtreecommitdiff
path: root/drivers/pci/msi/msi.h
diff options
context:
space:
mode:
authorAhmed S. Darwish <darwi@linutronix.de>2022-11-11 16:54:58 +0300
committerThomas Gleixner <tglx@linutronix.de>2022-11-17 17:15:21 +0300
commit18e1926b8c8b7c2249c24057d5f836c578e29f08 (patch)
tree700d38a8e174bb3959eade054110e9e0959d51d2 /drivers/pci/msi/msi.h
parent7b50f62776672e7b328455eddc90ceb01b64ac3e (diff)
downloadlinux-18e1926b8c8b7c2249c24057d5f836c578e29f08.tar.xz
PCI/MSI: Move pci_disable_msix() to api.c
To disentangle the maze in msi.c, all exported device-driver MSI APIs are now to be grouped in one file, api.c. Move pci_disable_msix() and make its kernel-doc comprehensive. Signed-off-by: Ahmed S. Darwish <darwi@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Link: https://lore.kernel.org/r/20221111122015.156785224@linutronix.de
Diffstat (limited to 'drivers/pci/msi/msi.h')
-rw-r--r--drivers/pci/msi/msi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/msi/msi.h b/drivers/pci/msi/msi.h
index 8c4a5289432d..77e2587f7e4f 100644
--- a/drivers/pci/msi/msi.h
+++ b/drivers/pci/msi/msi.h
@@ -86,6 +86,7 @@ static inline __attribute_const__ u32 msi_multi_mask(struct msi_desc *desc)
/* MSI internal functions invoked from the public APIs */
void pci_msi_shutdown(struct pci_dev *dev);
+void pci_msix_shutdown(struct pci_dev *dev);
void pci_free_msi_irqs(struct pci_dev *dev);
int __pci_enable_msi_range(struct pci_dev *dev, int minvec, int maxvec, struct irq_affinity *affd);
int __pci_enable_msix_range(struct pci_dev *dev, struct msix_entry *entries, int minvec,