PCI aer: add pci_cleanup_aer_correct_aer_status
[linux-2.6.git] / include / linux / aer.h
index 64aacae..5096562 100644 (file)
@@ -13,11 +13,13 @@ extern int pci_enable_pcie_error_reporting(struct pci_dev *dev);
 extern int pci_find_aer_capability(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);
+extern int pci_cleanup_aer_correct_error_status(struct pci_dev *dev);
 #else
 #define pci_enable_pcie_error_reporting(dev)           (-EINVAL)
 #define pci_find_aer_capability(dev)                   (0)
 #define pci_disable_pcie_error_reporting(dev)          (-EINVAL)
 #define pci_cleanup_aer_uncorrect_error_status(dev)    (-EINVAL)
+#define pci_cleanup_aer_correct_error_status(dev)      (-EINVAL)
 #endif
 
 #endif //_AER_H_