diff options
author | Michael Krufky <mkrufky@m1k.net> | 2005-07-27 14:45:59 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-27 19:26:17 -0400 |
commit | 29780bb7af61752924cf4814f2d8180747b38105 (patch) | |
tree | 6af2ff17efb50983c03f035e2f0ebae8adab072b /drivers/media/video/saa7134/saa7134-dvb.c | |
parent | 84de2eff1390a89a76507abc3073dad8de751869 (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/saa7134/saa7134-dvb.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-dvb.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/media/video/saa7134/saa7134-dvb.c b/drivers/media/video/saa7134/saa7134-dvb.c index 8d7b205fa515..8be6a90358c8 100644 --- a/drivers/media/video/saa7134/saa7134-dvb.c +++ b/drivers/media/video/saa7134/saa7134-dvb.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * $Id: saa7134-dvb.c,v 1.22 2005/07/23 10:08:00 mkrufky Exp $ | 2 | * $Id: saa7134-dvb.c,v 1.23 2005/07/24 22:12:47 mkrufky Exp $ |
3 | * | 3 | * |
4 | * (c) 2004 Gerd Knorr <kraxel@bytesex.org> [SuSE Labs] | 4 | * (c) 2004 Gerd Knorr <kraxel@bytesex.org> [SuSE Labs] |
5 | * | 5 | * |
@@ -35,11 +35,11 @@ | |||
35 | #include "saa7134-reg.h" | 35 | #include "saa7134-reg.h" |
36 | #include "saa7134.h" | 36 | #include "saa7134.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" /* FIXME */ | 40 | # include "mt352_priv.h" /* FIXME */ |
41 | #endif | 41 | #endif |
42 | #ifdef CONFIG_DVB_TDA1004X | 42 | #ifdef HAVE_TDA1004X |
43 | # include "tda1004x.h" | 43 | # include "tda1004x.h" |
44 | #endif | 44 | #endif |
45 | 45 | ||
@@ -53,7 +53,7 @@ MODULE_PARM_DESC(antenna_pwr,"enable antenna power (Pinnacle 300i)"); | |||
53 | 53 | ||
54 | /* ------------------------------------------------------------------ */ | 54 | /* ------------------------------------------------------------------ */ |
55 | 55 | ||
56 | #ifdef CONFIG_DVB_MT352 | 56 | #ifdef HAVE_MT352 |
57 | static int pinnacle_antenna_pwr(struct saa7134_dev *dev, int on) | 57 | static int pinnacle_antenna_pwr(struct saa7134_dev *dev, int on) |
58 | { | 58 | { |
59 | u32 ok; | 59 | u32 ok; |
@@ -152,7 +152,7 @@ static struct mt352_config pinnacle_300i = { | |||
152 | 152 | ||
153 | /* ------------------------------------------------------------------ */ | 153 | /* ------------------------------------------------------------------ */ |
154 | 154 | ||
155 | #ifdef CONFIG_DVB_TDA1004X | 155 | #ifdef HAVE_TDA1004X |
156 | static int philips_tu1216_pll_init(struct dvb_frontend *fe) | 156 | static int philips_tu1216_pll_init(struct dvb_frontend *fe) |
157 | { | 157 | { |
158 | struct saa7134_dev *dev = fe->dvb->priv; | 158 | struct saa7134_dev *dev = fe->dvb->priv; |
@@ -384,7 +384,7 @@ static int philips_fmd1216_pll_set(struct dvb_frontend *fe, struct dvb_frontend_ | |||
384 | return 0; | 384 | return 0; |
385 | } | 385 | } |
386 | 386 | ||
387 | #ifdef CONFIG_DVB_TDA1004X | 387 | #ifdef HAVE_TDA1004X |
388 | static struct tda1004x_config medion_cardbus = { | 388 | static struct tda1004x_config medion_cardbus = { |
389 | .demod_address = 0x08, | 389 | .demod_address = 0x08, |
390 | .invert = 1, | 390 | .invert = 1, |
@@ -547,14 +547,14 @@ static int dvb_init(struct saa7134_dev *dev) | |||
547 | dev); | 547 | dev); |
548 | 548 | ||
549 | switch (dev->board) { | 549 | switch (dev->board) { |
550 | #ifdef CONFIG_DVB_MT352 | 550 | #ifdef HAVE_MT352 |
551 | case SAA7134_BOARD_PINNACLE_300I_DVBT_PAL: | 551 | case SAA7134_BOARD_PINNACLE_300I_DVBT_PAL: |
552 | printk("%s: pinnacle 300i dvb setup\n",dev->name); | 552 | printk("%s: pinnacle 300i dvb setup\n",dev->name); |
553 | dev->dvb.frontend = mt352_attach(&pinnacle_300i, | 553 | dev->dvb.frontend = mt352_attach(&pinnacle_300i, |
554 | &dev->i2c_adap); | 554 | &dev->i2c_adap); |
555 | break; | 555 | break; |
556 | #endif | 556 | #endif |
557 | #ifdef CONFIG_DVB_TDA1004X | 557 | #ifdef HAVE_TDA1004X |
558 | case SAA7134_BOARD_MD7134: | 558 | case SAA7134_BOARD_MD7134: |
559 | dev->dvb.frontend = tda10046_attach(&medion_cardbus, | 559 | dev->dvb.frontend = tda10046_attach(&medion_cardbus, |
560 | &dev->i2c_adap); | 560 | &dev->i2c_adap); |