summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7134
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-07-15 23:59:43 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-07-15 23:59:43 +0000
commita0ba7ba1dd99d05426eb932f1f3fa27c0f3a33f8 (patch)
tree63199f1c0a0924adfbd68d1539d961664715b4e2 /linux/drivers/media/video/saa7134
parent243772d8d78ded1c08cb429c7095f0796f422fcc (diff)
downloadmediapointer-dvb-s2-a0ba7ba1dd99d05426eb932f1f3fa27c0f3a33f8.tar.gz
mediapointer-dvb-s2-a0ba7ba1dd99d05426eb932f1f3fa27c0f3a33f8.tar.bz2
- Now compiling also with linux-2.6.12 version.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media/video/saa7134')
-rw-r--r--linux/drivers/media/video/saa7134/saa7134-dvb.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-dvb.c b/linux/drivers/media/video/saa7134/saa7134-dvb.c
index 1424eb217..822bd7ce9 100644
--- a/linux/drivers/media/video/saa7134/saa7134-dvb.c
+++ b/linux/drivers/media/video/saa7134/saa7134-dvb.c
@@ -1,5 +1,5 @@
/*
- * $Id: saa7134-dvb.c,v 1.20 2005/07/15 21:44:14 mchehab Exp $
+ * $Id: saa7134-dvb.c,v 1.21 2005/07/15 23:59:43 mchehab Exp $
*
* (c) 2004 Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]
*
@@ -29,11 +29,14 @@
#include <linux/delay.h>
#include <linux/kthread.h>
#include <linux/suspend.h>
+#include "compat.h"
#define CONFIG_DVB_MT352 1
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,13)
#define CONFIG_DVB_TDA1004X 1
-
-#include "compat.h"
+#else
+#define CONFIG_DVB_TDA1004X 0
+#endif
#include "saa7134-reg.h"
#include "saa7134.h"
@@ -386,7 +389,7 @@ static int philips_fmd1216_pll_set(struct dvb_frontend *fe, struct dvb_frontend_
return 0;
}
-
+#if CONFIG_DVB_TDA1004X
static struct tda1004x_config medion_cardbus = {
.demod_address = 0x08,
.invert = 1,
@@ -399,6 +402,7 @@ static struct tda1004x_config medion_cardbus = {
.pll_sleep = philips_fmd1216_analog,
.request_firmware = NULL,
};
+#endif
/* ------------------------------------------------------------------ */