summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-11-01 09:16:48 +0100
committerHans Verkuil <hverkuil@xs4all.nl>2007-11-01 09:16:48 +0100
commit823f9da3767ef4f6c710c6856ec5d782d794ec56 (patch)
treee58dd74d0f2e0be3a0c62c7990b0b13ac7f217dd
parent745ed6ed26c97d4b99fc125df175a018753b12ca (diff)
downloadmediapointer-dvb-s2-823f9da3767ef4f6c710c6856ec5d782d794ec56.tar.gz
mediapointer-dvb-s2-823f9da3767ef4f6c710c6856ec5d782d794ec56.tar.bz2
v4l/compat.h: add KERN_CONT for pre-2.6.24 kernels
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
-rw-r--r--v4l/compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/v4l/compat.h b/v4l/compat.h
index e4877e865..ec43d8630 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, 24)
+#define KERN_CONT ""
+#endif
+
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)
# define set_freezable()
#endif