Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

PCI/AER: Remove "extern" from function declarations

We had an inconsistent mix of using and omitting the "extern" keyword
on function declarations in header files. This removes them all.

[bhelgaas: split out from "move AER severity defines" patch]
Signed-off-by: Betty Dall <betty.dall@hp.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>

authored by

Betty Dall and committed by
Bjorn Helgaas
fde41b9f 9e50a912

+8 -8
+8 -8
include/linux/aer.h
··· 35 35 36 36 #if defined(CONFIG_PCIEAER) 37 37 /* pci-e port driver needs this function to enable aer */ 38 - extern int pci_enable_pcie_error_reporting(struct pci_dev *dev); 39 - extern int pci_disable_pcie_error_reporting(struct pci_dev *dev); 40 - extern int pci_cleanup_aer_uncorrect_error_status(struct pci_dev *dev); 38 + int pci_enable_pcie_error_reporting(struct pci_dev *dev); 39 + int pci_disable_pcie_error_reporting(struct pci_dev *dev); 40 + int pci_cleanup_aer_uncorrect_error_status(struct pci_dev *dev); 41 41 #else 42 42 static inline int pci_enable_pcie_error_reporting(struct pci_dev *dev) 43 43 { ··· 53 53 } 54 54 #endif 55 55 56 - extern void cper_print_aer(const char *prefix, struct pci_dev *dev, 57 - int cper_severity, struct aer_capability_regs *aer); 58 - extern int cper_severity_to_aer(int cper_severity); 59 - extern void aer_recover_queue(int domain, unsigned int bus, unsigned int devfn, 60 - int severity); 56 + void cper_print_aer(const char *prefix, struct pci_dev *dev, int cper_severity, 57 + struct aer_capability_regs *aer); 58 + int cper_severity_to_aer(int cper_severity); 59 + void aer_recover_queue(int domain, unsigned int bus, unsigned int devfn, 60 + int severity); 61 61 #endif //_AER_H_ 62 62