aboutsummaryrefslogtreecommitdiff
path: root/SOURCES/0001-Revert-nvme-pci-drop-redundant-pci_enable_pcie_error.patch
diff options
context:
space:
mode:
Diffstat (limited to 'SOURCES/0001-Revert-nvme-pci-drop-redundant-pci_enable_pcie_error.patch')
-rw-r--r--SOURCES/0001-Revert-nvme-pci-drop-redundant-pci_enable_pcie_error.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/SOURCES/0001-Revert-nvme-pci-drop-redundant-pci_enable_pcie_error.patch b/SOURCES/0001-Revert-nvme-pci-drop-redundant-pci_enable_pcie_error.patch
index 6eac856..d2d4f0b 100644
--- a/SOURCES/0001-Revert-nvme-pci-drop-redundant-pci_enable_pcie_error.patch
+++ b/SOURCES/0001-Revert-nvme-pci-drop-redundant-pci_enable_pcie_error.patch
@@ -51,9 +51,9 @@ diff --git a/include/linux/aer.h b/include/linux/aer.h
index 29cc10220..94ce49a5f 100644
--- a/include/linux/aer.h
+++ b/include/linux/aer.h
-@@ -41,9 +41,20 @@ struct aer_capability_regs {
- };
-
+@@ -40,9 +40,20 @@
+ int pcie_read_tlp_log(struct pci_dev *dev, int where, struct pcie_tlp_log *log);
+
#if defined(CONFIG_PCIEAER)
+/* PCIe port driver needs this function to enable AER */
+int pci_enable_pcie_error_reporting(struct pci_dev *dev);