summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/video-buf-dvb.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-10-09 18:07:06 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-10-09 18:07:06 +0000
commit1c769dacd06c44528955753c2cac21b1d4b8ddef (patch)
treecbd22854f18480a8054382799ade8c765ab618d1 /linux/drivers/media/video/video-buf-dvb.c
parent15e9f7c5dda7607d5080c899de36fe6003e1318c (diff)
downloadmediapointer-dvb-s2-1c769dacd06c44528955753c2cac21b1d4b8ddef.tar.gz
mediapointer-dvb-s2-1c769dacd06c44528955753c2cac21b1d4b8ddef.tar.bz2
From: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
- Lots of small changes to allow compiling with kernel 2.4. Compilation result not tested yet. - After this patch, .version should be removed, since its syntax has changed. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media/video/video-buf-dvb.c')
-rw-r--r--linux/drivers/media/video/video-buf-dvb.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/linux/drivers/media/video/video-buf-dvb.c b/linux/drivers/media/video/video-buf-dvb.c
index 01b19c58d..92685d9fa 100644
--- a/linux/drivers/media/video/video-buf-dvb.c
+++ b/linux/drivers/media/video/video-buf-dvb.c
@@ -1,5 +1,5 @@
/*
- * $Id: video-buf-dvb.c,v 1.12 2005/07/15 21:44:14 mchehab Exp $
+ * $Id: video-buf-dvb.c,v 1.13 2005/10/09 18:07:06 mchehab Exp $
*
* some helper function for simple DVB cards which simply DMA the
* complete transport stream and let the computer sort everything else
@@ -14,6 +14,9 @@
* (at your option) any later version.
*/
+#include "compat.h"
+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,0)
+
#include <linux/module.h>
#include <linux/init.h>
#include <linux/device.h>
@@ -22,7 +25,6 @@
#include <linux/file.h>
#include <linux/suspend.h>
-#include "compat.h"
#include <media/video-buf.h>
#include <media/video-buf-dvb.h>
@@ -278,3 +280,5 @@ EXPORT_SYMBOL(videobuf_dvb_unregister);
* compile-command: "make DVB=1"
* End:
*/
+#endif /* LINUX_VERSION_CODE */
+