summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-07-19 18:06:54 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-07-19 18:06:54 -0300
commit66bdbb2c4fd4d078e0497e4643e20ecd3eab6622 (patch)
tree76d38ef789a353a1ee90942ba4ed0b464a485700 /v4l
parent62669e099bdeb24fa4befb613b6d81b0b574c163 (diff)
downloadmediapointer-dvb-s2-66bdbb2c4fd4d078e0497e4643e20ecd3eab6622.tar.gz
mediapointer-dvb-s2-66bdbb2c4fd4d078e0497e4643e20ecd3eab6622.tar.bz2
Fix compatibility with kernels older than 2.6.22
From: Mauro Carvalho Chehab <mchehab@infradead.org> Thanks to Michael Krufky for pointing this issue. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l')
-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