diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2017-03-09 22:45:14 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-03-09 22:56:54 +0100 |
commit | 688769f643bfce894f14dc7141bfc6c010f52750 (patch) | |
tree | b0ed2ef3f729b76b9b42fa7ca5078e43d91fabc6 /drivers/pci | |
parent | PCI/MSI: Stop disabling MSI/MSI-X in pci_device_shutdown() (diff) | |
download | linux-688769f643bfce894f14dc7141bfc6c010f52750.tar.xz linux-688769f643bfce894f14dc7141bfc6c010f52750.zip |
PCI/MSI: Make pci_msi_shutdown() and pci_msix_shutdown() static
pci_msi_shutdown() and pci_msix_shutdown() are used only in
drivers/pci/msi.c, so make them static.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/msi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index d571bc330686..4d062c3bf5f0 100644 --- a/drivers/pci/msi.c +++ b/drivers/pci/msi.c @@ -882,7 +882,7 @@ int pci_msi_vec_count(struct pci_dev *dev) } EXPORT_SYMBOL(pci_msi_vec_count); -void pci_msi_shutdown(struct pci_dev *dev) +static void pci_msi_shutdown(struct pci_dev *dev) { struct msi_desc *desc; u32 mask; @@ -994,7 +994,7 @@ int pci_enable_msix(struct pci_dev *dev, struct msix_entry *entries, int nvec) } EXPORT_SYMBOL(pci_enable_msix); -void pci_msix_shutdown(struct pci_dev *dev) +static void pci_msix_shutdown(struct pci_dev *dev) { struct msi_desc *entry; |