mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
PCI/MSI: Get rid of externs in msi.h
Follow the style of <linux/pci.h> Signed-off-by: Ahmed S. Darwish <darwi@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Link: https://lore.kernel.org/r/20221111122014.582175082@linutronix.de
This commit is contained in:
parent
13e7accb81
commit
db537dd3bf
1 changed files with 4 additions and 4 deletions
|
@ -5,12 +5,12 @@
|
|||
|
||||
#define msix_table_size(flags) ((flags & PCI_MSIX_FLAGS_QSIZE) + 1)
|
||||
|
||||
extern int pci_msi_setup_msi_irqs(struct pci_dev *dev, int nvec, int type);
|
||||
extern void pci_msi_teardown_msi_irqs(struct pci_dev *dev);
|
||||
int pci_msi_setup_msi_irqs(struct pci_dev *dev, int nvec, int type);
|
||||
void pci_msi_teardown_msi_irqs(struct pci_dev *dev);
|
||||
|
||||
#ifdef CONFIG_PCI_MSI_ARCH_FALLBACKS
|
||||
extern int pci_msi_legacy_setup_msi_irqs(struct pci_dev *dev, int nvec, int type);
|
||||
extern void pci_msi_legacy_teardown_msi_irqs(struct pci_dev *dev);
|
||||
int pci_msi_legacy_setup_msi_irqs(struct pci_dev *dev, int nvec, int type);
|
||||
void pci_msi_legacy_teardown_msi_irqs(struct pci_dev *dev);
|
||||
#else
|
||||
static inline int pci_msi_legacy_setup_msi_irqs(struct pci_dev *dev, int nvec, int type)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue