summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88
diff options
context:
space:
mode:
authorMichael Krufky <devnull@localhost>2005-07-24 22:12:47 +0000
committerMichael Krufky <devnull@localhost>2005-07-24 22:12:47 +0000
commita32937737de1ff8bb8609392d57d8df79f94562e (patch)
tree9e5d16a870b909346c5cebe2d0517597cedbfea6 /linux/drivers/media/video/cx88
parent0750464d4eb68054ca37f3fd2e3262918def396e (diff)
downloadmediapointer-dvb-s2-a32937737de1ff8bb8609392d57d8df79f94562e.tar.gz
mediapointer-dvb-s2-a32937737de1ff8bb8609392d57d8df79f94562e.tar.bz2
* cx88-dvb.c, saa7134-dvb.c, Makefile:
- The #define CONFIG_DVB_* are actually CFLAGS set my Makefile. CONFIG_* namespace is reserved for Kconfig. This renames them back to HAVE_*. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Diffstat (limited to 'linux/drivers/media/video/cx88')
-rw-r--r--linux/drivers/media/video/cx88/cx88-dvb.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-dvb.c b/linux/drivers/media/video/cx88/cx88-dvb.c
index 9b79371c2..a448eb985 100644
--- a/linux/drivers/media/video/cx88/cx88-dvb.c
+++ b/linux/drivers/media/video/cx88/cx88-dvb.c
@@ -1,5 +1,5 @@
/*
- * $Id: cx88-dvb.c,v 1.51 2005/07/24 19:09:28 mkrufky Exp $
+ * $Id: cx88-dvb.c,v 1.52 2005/07/24 22:12:47 mkrufky Exp $
*
* device driver for Conexant 2388x based TV cards
* MPEG Transport Stream (DVB) routines
@@ -33,23 +33,23 @@
#include "compat.h"
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,13)
-#undef CONFIG_DVB_LGDT3302
+#undef HAVE_LGDT3302
#endif
#include "cx88.h"
#include "dvb-pll.h"
-#ifdef CONFIG_DVB_MT352
+#ifdef HAVE_MT352
# include "mt352.h"
# include "mt352_priv.h"
#endif
-#ifdef CONFIG_DVB_CX22702
+#ifdef HAVE_CX22702
# include "cx22702.h"
#endif
-#ifdef CONFIG_DVB_OR51132
+#ifdef HAVE_OR51132
# include "or51132.h"
#endif
-#ifdef CONFIG_DVB_LGDT3302
+#ifdef HAVE_LGDT3302
# include "lgdt3302.h"
#endif
@@ -108,7 +108,7 @@ static struct videobuf_queue_ops dvb_qops = {
/* ------------------------------------------------------------------ */
-#ifdef CONFIG_DVB_MT352
+#ifdef HAVE_MT352
static int dvico_fusionhdtv_demod_init(struct dvb_frontend* fe)
{
static u8 clock_config [] = { CLOCK_CTL, 0x38, 0x39 };
@@ -178,7 +178,7 @@ static struct mt352_config dntv_live_dvbt_config = {
};
#endif
-#ifdef CONFIG_DVB_CX22702
+#ifdef HAVE_CX22702
static struct cx22702_config connexant_refboard_config = {
.demod_address = 0x43,
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,12)
@@ -198,7 +198,7 @@ static struct cx22702_config hauppauge_novat_config = {
};
#endif
-#ifdef CONFIG_DVB_OR51132
+#ifdef HAVE_OR51132
static int or51132_set_ts_param(struct dvb_frontend* fe,
int is_punctured)
{
@@ -215,7 +215,7 @@ static struct or51132_config pchdtv_hd3000 = {
};
#endif
-#ifdef CONFIG_DVB_LGDT3302
+#ifdef HAVE_LGDT3302
static int lgdt3302_pll_set(struct dvb_frontend* fe,
struct dvb_frontend_parameters* params,
u8* pllbuf)
@@ -266,7 +266,7 @@ static int dvb_register(struct cx8802_dev *dev)
/* init frontend */
switch (dev->core->board) {
-#ifdef CONFIG_DVB_CX22702
+#ifdef HAVE_CX22702
case CX88_BOARD_HAUPPAUGE_DVB_T1:
dev->dvb.frontend = cx22702_attach(&hauppauge_novat_config,
&dev->core->i2c_adap);
@@ -277,7 +277,7 @@ static int dvb_register(struct cx8802_dev *dev)
&dev->core->i2c_adap);
break;
#endif
-#ifdef CONFIG_DVB_MT352
+#ifdef HAVE_MT352
case CX88_BOARD_DVICO_FUSIONHDTV_DVB_T1:
dev->core->pll_addr = 0x61;
dev->core->pll_desc = &dvb_pll_lg_z201;
@@ -299,13 +299,13 @@ static int dvb_register(struct cx8802_dev *dev)
&dev->core->i2c_adap);
break;
#endif
-#ifdef CONFIG_DVB_OR51132
+#ifdef HAVE_OR51132
case CX88_BOARD_PCHDTV_HD3000:
dev->dvb.frontend = or51132_attach(&pchdtv_hd3000,
&dev->core->i2c_adap);
break;
#endif
-#ifdef CONFIG_DVB_LGDT3302
+#ifdef HAVE_LGDT3302
case CX88_BOARD_DVICO_FUSIONHDTV_3_GOLD_Q:
dev->ts_gen_cntrl = 0x08;
{