mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
9e50a9122f
commit
fde41b9fa2
1 changed files with 8 additions and 8 deletions
|
@ -35,9 +35,9 @@ struct aer_capability_regs {
|
||||||
|
|
||||||
#if defined(CONFIG_PCIEAER)
|
#if defined(CONFIG_PCIEAER)
|
||||||
/* pci-e port driver needs this function to enable aer */
|
/* pci-e port driver needs this function to enable aer */
|
||||||
extern int pci_enable_pcie_error_reporting(struct pci_dev *dev);
|
int pci_enable_pcie_error_reporting(struct pci_dev *dev);
|
||||||
extern int pci_disable_pcie_error_reporting(struct pci_dev *dev);
|
int pci_disable_pcie_error_reporting(struct pci_dev *dev);
|
||||||
extern int pci_cleanup_aer_uncorrect_error_status(struct pci_dev *dev);
|
int pci_cleanup_aer_uncorrect_error_status(struct pci_dev *dev);
|
||||||
#else
|
#else
|
||||||
static inline int pci_enable_pcie_error_reporting(struct pci_dev *dev)
|
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
|
#endif
|
||||||
|
|
||||||
extern void cper_print_aer(const char *prefix, struct pci_dev *dev,
|
void cper_print_aer(const char *prefix, struct pci_dev *dev, int cper_severity,
|
||||||
int cper_severity, struct aer_capability_regs *aer);
|
struct aer_capability_regs *aer);
|
||||||
extern int cper_severity_to_aer(int cper_severity);
|
int cper_severity_to_aer(int cper_severity);
|
||||||
extern void aer_recover_queue(int domain, unsigned int bus, unsigned int devfn,
|
void aer_recover_queue(int domain, unsigned int bus, unsigned int devfn,
|
||||||
int severity);
|
int severity);
|
||||||
#endif //_AER_H_
|
#endif //_AER_H_
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue