diff options
Diffstat (limited to 'kernel/include/linux/aer.h')
-rw-r--r-- | kernel/include/linux/aer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/include/linux/aer.h b/kernel/include/linux/aer.h index 4fef65e57..744b997d6 100644 --- a/kernel/include/linux/aer.h +++ b/kernel/include/linux/aer.h @@ -42,6 +42,7 @@ struct aer_capability_regs { 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); +int pci_cleanup_aer_error_status_regs(struct pci_dev *dev); #else static inline int pci_enable_pcie_error_reporting(struct pci_dev *dev) { @@ -55,6 +56,10 @@ static inline int pci_cleanup_aer_uncorrect_error_status(struct pci_dev *dev) { return -EINVAL; } +static inline int pci_cleanup_aer_error_status_regs(struct pci_dev *dev) +{ + return -EINVAL; +} #endif void cper_print_aer(struct pci_dev *dev, int cper_severity, |