summaryrefslogtreecommitdiff
path: root/backport/compat/compat-3.5.c
diff options
context:
space:
mode:
Diffstat (limited to 'backport/compat/compat-3.5.c')
-rw-r--r--backport/compat/compat-3.5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backport/compat/compat-3.5.c b/backport/compat/compat-3.5.c
index 1b8f7874..de312283 100644
--- a/backport/compat/compat-3.5.c
+++ b/backport/compat/compat-3.5.c
@@ -15,7 +15,7 @@
#include <linux/gpio.h>
#include <linux/ptp_clock_kernel.h>
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0))
+#if LINUX_VERSION_IS_GEQ(3,2,0)
#include <linux/device.h>
/**
@@ -47,7 +47,7 @@ int devres_release(struct device *dev, dr_release_t release,
return 0;
}
EXPORT_SYMBOL_GPL(devres_release);
-#endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)) */
+#endif /* LINUX_VERSION_IS_GEQ(3,2,0) */
/*
* Commit 7a4e7408c5cadb240e068a662251754a562355e3