aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@m1k.net>2005-07-27 14:45:59 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-27 19:26:17 -0400
commit29780bb7af61752924cf4814f2d8180747b38105 (patch)
tree6af2ff17efb50983c03f035e2f0ebae8adab072b /drivers/media/video/cx88
parent84de2eff1390a89a76507abc3073dad8de751869 (diff)
[PATCH] v4l: hybrid dvb: rename CFLAGS from CONFIG_DVB_xxxx back to original HAVE_xxxx
The #define CONFIG_DVB_* are actually CFLAGS set by Makefile. CONFIG_* namespace is reserved for Kconfig. This renames them back to HAVE_* Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/video/cx88')
-rw-r--r--drivers/media/video/cx88/Makefile8
-rw-r--r--drivers/media/video/cx88/cx88-dvb.c26
2 files changed, 17 insertions, 17 deletions
diff --git a/drivers/media/video/cx88/Makefile b/drivers/media/video/cx88/Makefile
index 2f4b26d2186b..000f4c3454da 100644
--- a/drivers/media/video/cx88/Makefile
+++ b/drivers/media/video/cx88/Makefile
@@ -10,14 +10,14 @@ EXTRA_CFLAGS += -I$(src)/..
10EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/dvb-core 10EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/dvb-core
11EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/frontends 11EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/frontends
12ifneq ($(CONFIG_DVB_CX22702),n) 12ifneq ($(CONFIG_DVB_CX22702),n)
13 EXTRA_CFLAGS += -DCONFIG_DVB_CX22702=1 13 EXTRA_CFLAGS += -DHAVE_CX22702=1
14endif 14endif
15ifneq ($(CONFIG_DVB_OR51132),n) 15ifneq ($(CONFIG_DVB_OR51132),n)
16 EXTRA_CFLAGS += -DCONFIG_DVB_OR51132=1 16 EXTRA_CFLAGS += -DHAVE_OR51132=1
17endif 17endif
18ifneq ($(CONFIG_DVB_LGDT3302),n) 18ifneq ($(CONFIG_DVB_LGDT3302),n)
19 EXTRA_CFLAGS += -DCONFIG_DVB_LGDT3302=1 19 EXTRA_CFLAGS += -DHAVE_LGDT3302=1
20endif 20endif
21ifneq ($(CONFIG_DVB_MT352),n) 21ifneq ($(CONFIG_DVB_MT352),n)
22 EXTRA_CFLAGS += -DCONFIG_DVB_MT352=1 22 EXTRA_CFLAGS += -DHAVE_MT352=1
23endif 23endif
diff --git a/drivers/media/video/cx88/cx88-dvb.c b/drivers/media/video/cx88/cx88-dvb.c
index 8194be880b1a..95847b5a487b 100644
--- a/drivers/media/video/cx88/cx88-dvb.c
+++ b/drivers/media/video/cx88/cx88-dvb.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * $Id: cx88-dvb.c,v 1.50 2005/07/23 10:08:00 mkrufky Exp $ 2 * $Id: cx88-dvb.c,v 1.52 2005/07/24 22:12:47 mkrufky Exp $
3 * 3 *
4 * device driver for Conexant 2388x based TV cards 4 * device driver for Conexant 2388x based TV cards
5 * MPEG Transport Stream (DVB) routines 5 * MPEG Transport Stream (DVB) routines
@@ -35,17 +35,17 @@
35#include "cx88.h" 35#include "cx88.h"
36#include "dvb-pll.h" 36#include "dvb-pll.h"
37 37
38#ifdef CONFIG_DVB_MT352 38#ifdef HAVE_MT352
39# include "mt352.h" 39# include "mt352.h"
40# include "mt352_priv.h" 40# include "mt352_priv.h"
41#endif 41#endif
42#ifdef CONFIG_DVB_CX22702 42#ifdef HAVE_CX22702
43# include "cx22702.h" 43# include "cx22702.h"
44#endif 44#endif
45#ifdef CONFIG_DVB_OR51132 45#ifdef HAVE_OR51132
46# include "or51132.h" 46# include "or51132.h"
47#endif 47#endif
48#ifdef CONFIG_DVB_LGDT3302 48#ifdef HAVE_LGDT3302
49# include "lgdt3302.h" 49# include "lgdt3302.h"
50#endif 50#endif
51 51
@@ -104,7 +104,7 @@ static struct videobuf_queue_ops dvb_qops = {
104 104
105/* ------------------------------------------------------------------ */ 105/* ------------------------------------------------------------------ */
106 106
107#ifdef CONFIG_DVB_MT352 107#ifdef HAVE_MT352
108static int dvico_fusionhdtv_demod_init(struct dvb_frontend* fe) 108static int dvico_fusionhdtv_demod_init(struct dvb_frontend* fe)
109{ 109{
110 static u8 clock_config [] = { CLOCK_CTL, 0x38, 0x39 }; 110 static u8 clock_config [] = { CLOCK_CTL, 0x38, 0x39 };
@@ -174,7 +174,7 @@ static struct mt352_config dntv_live_dvbt_config = {
174}; 174};
175#endif 175#endif
176 176
177#ifdef CONFIG_DVB_CX22702 177#ifdef HAVE_CX22702
178static struct cx22702_config connexant_refboard_config = { 178static struct cx22702_config connexant_refboard_config = {
179 .demod_address = 0x43, 179 .demod_address = 0x43,
180 .output_mode = CX22702_SERIAL_OUTPUT, 180 .output_mode = CX22702_SERIAL_OUTPUT,
@@ -190,7 +190,7 @@ static struct cx22702_config hauppauge_novat_config = {
190}; 190};
191#endif 191#endif
192 192
193#ifdef CONFIG_DVB_OR51132 193#ifdef HAVE_OR51132
194static int or51132_set_ts_param(struct dvb_frontend* fe, 194static int or51132_set_ts_param(struct dvb_frontend* fe,
195 int is_punctured) 195 int is_punctured)
196{ 196{
@@ -207,7 +207,7 @@ static struct or51132_config pchdtv_hd3000 = {
207}; 207};
208#endif 208#endif
209 209
210#ifdef CONFIG_DVB_LGDT3302 210#ifdef HAVE_LGDT3302
211static int lgdt3302_pll_set(struct dvb_frontend* fe, 211static int lgdt3302_pll_set(struct dvb_frontend* fe,
212 struct dvb_frontend_parameters* params, 212 struct dvb_frontend_parameters* params,
213 u8* pllbuf) 213 u8* pllbuf)
@@ -258,7 +258,7 @@ static int dvb_register(struct cx8802_dev *dev)
258 258
259 /* init frontend */ 259 /* init frontend */
260 switch (dev->core->board) { 260 switch (dev->core->board) {
261#ifdef CONFIG_DVB_CX22702 261#ifdef HAVE_CX22702
262 case CX88_BOARD_HAUPPAUGE_DVB_T1: 262 case CX88_BOARD_HAUPPAUGE_DVB_T1:
263 dev->dvb.frontend = cx22702_attach(&hauppauge_novat_config, 263 dev->dvb.frontend = cx22702_attach(&hauppauge_novat_config,
264 &dev->core->i2c_adap); 264 &dev->core->i2c_adap);
@@ -269,7 +269,7 @@ static int dvb_register(struct cx8802_dev *dev)
269 &dev->core->i2c_adap); 269 &dev->core->i2c_adap);
270 break; 270 break;
271#endif 271#endif
272#ifdef CONFIG_DVB_MT352 272#ifdef HAVE_MT352
273 case CX88_BOARD_DVICO_FUSIONHDTV_DVB_T1: 273 case CX88_BOARD_DVICO_FUSIONHDTV_DVB_T1:
274 dev->core->pll_addr = 0x61; 274 dev->core->pll_addr = 0x61;
275 dev->core->pll_desc = &dvb_pll_lg_z201; 275 dev->core->pll_desc = &dvb_pll_lg_z201;
@@ -291,13 +291,13 @@ static int dvb_register(struct cx8802_dev *dev)
291 &dev->core->i2c_adap); 291 &dev->core->i2c_adap);
292 break; 292 break;
293#endif 293#endif
294#ifdef CONFIG_DVB_OR51132 294#ifdef HAVE_OR51132
295 case CX88_BOARD_PCHDTV_HD3000: 295 case CX88_BOARD_PCHDTV_HD3000:
296 dev->dvb.frontend = or51132_attach(&pchdtv_hd3000, 296 dev->dvb.frontend = or51132_attach(&pchdtv_hd3000,
297 &dev->core->i2c_adap); 297 &dev->core->i2c_adap);
298 break; 298 break;
299#endif 299#endif
300#ifdef CONFIG_DVB_LGDT3302 300#ifdef HAVE_LGDT3302
301 case CX88_BOARD_DVICO_FUSIONHDTV_3_GOLD_Q: 301 case CX88_BOARD_DVICO_FUSIONHDTV_3_GOLD_Q:
302 dev->ts_gen_cntrl = 0x08; 302 dev->ts_gen_cntrl = 0x08;
303 { 303 {