summaryrefslogtreecommitdiff
path: root/patches/0042-pci_error_handlers/atl1e.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/0042-pci_error_handlers/atl1e.patch')
-rw-r--r--patches/0042-pci_error_handlers/atl1e.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/0042-pci_error_handlers/atl1e.patch b/patches/0042-pci_error_handlers/atl1e.patch
index 2e83131f..2bfc1d5e 100644
--- a/patches/0042-pci_error_handlers/atl1e.patch
+++ b/patches/0042-pci_error_handlers/atl1e.patch
@@ -4,11 +4,11 @@
netif_device_attach(netdev);
}
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,7,0)
++#if LINUX_VERSION_IS_GEQ(3,7,0)
static const struct pci_error_handlers atl1e_err_handler = {
+#else
+static struct pci_error_handlers atl1e_err_handler = {
-+#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(3,7,0) */
++#endif /* LINUX_VERSION_IS_GEQ(3,7,0) */
.error_detected = atl1e_io_error_detected,
.slot_reset = atl1e_io_slot_reset,
.resume = atl1e_io_resume,