diff options
author | Betty Dall <betty.dall@hp.com> | 2013-06-06 16:35:35 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-06-06 16:37:07 -0400 |
commit | fde41b9fa2d0d6abd5b1b5674f1da3bb40ebc98d (patch) | |
tree | d53ab09a2ceb3028dbc3c04085a81a5f15d07ece | |
parent | 9e50a9122f048c67a4e83916434e2e212a6f0fe2 (diff) |
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>
-rw-r--r-- | include/linux/aer.h | 16 |
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 { | |||
35 | 35 | ||
36 | #if defined(CONFIG_PCIEAER) | 36 | #if defined(CONFIG_PCIEAER) |
37 | /* pci-e port driver needs this function to enable aer */ | 37 | /* pci-e port driver needs this function to enable aer */ |
38 | extern int pci_enable_pcie_error_reporting(struct pci_dev *dev); | 38 | int pci_enable_pcie_error_reporting(struct pci_dev *dev); |
39 | extern int pci_disable_pcie_error_reporting(struct pci_dev *dev); | 39 | int pci_disable_pcie_error_reporting(struct pci_dev *dev); |
40 | extern int pci_cleanup_aer_uncorrect_error_status(struct pci_dev *dev); | 40 | int pci_cleanup_aer_uncorrect_error_status(struct pci_dev *dev); |
41 | #else | 41 | #else |
42 | static inline int pci_enable_pcie_error_reporting(struct pci_dev *dev) | 42 | static inline int pci_enable_pcie_error_reporting(struct pci_dev *dev) |
43 | { | 43 | { |
@@ -53,10 +53,10 @@ static inline int pci_cleanup_aer_uncorrect_error_status(struct pci_dev *dev) | |||
53 | } | 53 | } |
54 | #endif | 54 | #endif |
55 | 55 | ||
56 | extern void cper_print_aer(const char *prefix, struct pci_dev *dev, | 56 | void cper_print_aer(const char *prefix, struct pci_dev *dev, int cper_severity, |
57 | int cper_severity, struct aer_capability_regs *aer); | 57 | struct aer_capability_regs *aer); |
58 | extern int cper_severity_to_aer(int cper_severity); | 58 | int cper_severity_to_aer(int cper_severity); |
59 | extern void aer_recover_queue(int domain, unsigned int bus, unsigned int devfn, | 59 | void aer_recover_queue(int domain, unsigned int bus, unsigned int devfn, |
60 | int severity); | 60 | int severity); |
61 | #endif //_AER_H_ | 61 | #endif //_AER_H_ |
62 | 62 | ||