summaryrefslogtreecommitdiff
path: root/include/linux/aer.h
diff options
context:
space:
mode:
authorBetty Dall <betty.dall@hp.com>2013-06-06 14:35:35 -0600
committerBjorn Helgaas <bhelgaas@google.com>2013-06-06 14:37:07 -0600
commitfde41b9fa2d0d6abd5b1b5674f1da3bb40ebc98d (patch)
treed53ab09a2ceb3028dbc3c04085a81a5f15d07ece /include/linux/aer.h
parent9e50a9122f048c67a4e83916434e2e212a6f0fe2 (diff)
downloadlwn-fde41b9fa2d0d6abd5b1b5674f1da3bb40ebc98d.tar.gz
lwn-fde41b9fa2d0d6abd5b1b5674f1da3bb40ebc98d.zip
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>
Diffstat (limited to 'include/linux/aer.h')
-rw-r--r--include/linux/aer.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/linux/aer.h b/include/linux/aer.h
index d2cf2e4f9c2d..55bb3dc4b2db 100644
--- a/include/linux/aer.h
+++ b/include/linux/aer.h
@@ -35,9 +35,9 @@ struct aer_capability_regs {
#if defined(CONFIG_PCIEAER)
/* pci-e port driver needs this function to enable aer */
-extern int pci_enable_pcie_error_reporting(struct pci_dev *dev);
-extern int pci_disable_pcie_error_reporting(struct pci_dev *dev);
-extern int pci_cleanup_aer_uncorrect_error_status(struct pci_dev *dev);
+int pci_enable_pcie_error_reporting(struct pci_dev *dev);
+int pci_disable_pcie_error_reporting(struct pci_dev *dev);
+int pci_cleanup_aer_uncorrect_error_status(struct pci_dev *dev);
#else
static inline int pci_enable_pcie_error_reporting(struct pci_dev *dev)
{
@@ -53,10 +53,10 @@ static inline int pci_cleanup_aer_uncorrect_error_status(struct pci_dev *dev)
}
#endif
-extern void cper_print_aer(const char *prefix, struct pci_dev *dev,
- int cper_severity, struct aer_capability_regs *aer);
-extern int cper_severity_to_aer(int cper_severity);
-extern void aer_recover_queue(int domain, unsigned int bus, unsigned int devfn,
- int severity);
+void cper_print_aer(const char *prefix, struct pci_dev *dev, int cper_severity,
+ struct aer_capability_regs *aer);
+int cper_severity_to_aer(int cper_severity);
+void aer_recover_queue(int domain, unsigned int bus, unsigned int devfn,
+ int severity);
#endif //_AER_H_