summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--v4l/compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/v4l/compat.h b/v4l/compat.h
index 89ca51748..ed6605687 100644
--- a/v4l/compat.h
+++ b/v4l/compat.h
@@ -5,6 +5,10 @@
#ifndef _COMPAT_H
#define _COMPAT_H
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
+# define set_freezable()
+#endif
+
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,18)
# define minor(x) MINOR(x)
#endif