summaryrefslogtreecommitdiffstats
path: root/test/afalgtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/afalgtest.c')
-rw-r--r--test/afalgtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/afalgtest.c b/test/afalgtest.c
index 7fc03ba147..e6e02f03eb 100644
--- a/test/afalgtest.c
+++ b/test/afalgtest.c
@@ -15,7 +15,7 @@
# define K_MAJ 4
# define K_MIN1 1
# define K_MIN2 0
-# if LINUX_VERSION_CODE <= KERNEL_VERSION(K_MAJ, K_MIN1, K_MIN2)
+# if LINUX_VERSION_CODE < KERNEL_VERSION(K_MAJ, K_MIN1, K_MIN2)
/*
* If we get here then it looks like there is a mismatch between the linux
* headers and the actual kernel version, so we have tried to compile with