summaryrefslogtreecommitdiff
path: root/patches/0082-pci_error_handlers.cocci
diff options
context:
space:
mode:
Diffstat (limited to 'patches/0082-pci_error_handlers.cocci')
-rw-r--r--patches/0082-pci_error_handlers.cocci2
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/0082-pci_error_handlers.cocci b/patches/0082-pci_error_handlers.cocci
index 9b5573d4..2a1fc388 100644
--- a/patches/0082-pci_error_handlers.cocci
+++ b/patches/0082-pci_error_handlers.cocci
@@ -9,7 +9,7 @@ struct pci_error_handlers OPS@p = {
+#if LINUX_VERSION_IS_GEQ(4,13,0)
.reset_prepare = pcie_reset_prepare_fn,
.reset_done = pcie_reset_done_fn,
-+#else
++#elif LINUX_VERSION_IS_GEQ(3,16,0)
+ .reset_notify = pcie_reset_notify_fn,
+#endif
};