diff options
Diffstat (limited to 'drivers/media/video/cx88/cx88-dvb.c')
| -rw-r--r-- | drivers/media/video/cx88/cx88-dvb.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/video/cx88/cx88-dvb.c b/drivers/media/video/cx88/cx88-dvb.c index 8b203354fccd..4f5560285770 100644 --- a/drivers/media/video/cx88/cx88-dvb.c +++ b/drivers/media/video/cx88/cx88-dvb.c | |||
| @@ -35,7 +35,7 @@ | |||
| 35 | 35 | ||
| 36 | #include "mt352.h" | 36 | #include "mt352.h" |
| 37 | #include "mt352_priv.h" | 37 | #include "mt352_priv.h" |
| 38 | #ifdef HAVE_VP3054_I2C | 38 | #if defined(CONFIG_VIDEO_CX88_VP3054) || defined(CONFIG_VIDEO_CX88_VP3054_MODULE) |
| 39 | # include "cx88-vp3054-i2c.h" | 39 | # include "cx88-vp3054-i2c.h" |
| 40 | #endif | 40 | #endif |
| 41 | #include "zl10353.h" | 41 | #include "zl10353.h" |
| @@ -200,7 +200,7 @@ static struct mt352_config dvico_fusionhdtv_dual = { | |||
| 200 | .demod_init = dvico_dual_demod_init, | 200 | .demod_init = dvico_dual_demod_init, |
| 201 | }; | 201 | }; |
| 202 | 202 | ||
| 203 | #ifdef HAVE_VP3054_I2C | 203 | #if defined(CONFIG_VIDEO_CX88_VP3054) || defined(CONFIG_VIDEO_CX88_VP3054_MODULE) |
| 204 | static int dntv_live_dvbt_pro_demod_init(struct dvb_frontend* fe) | 204 | static int dntv_live_dvbt_pro_demod_init(struct dvb_frontend* fe) |
| 205 | { | 205 | { |
| 206 | static u8 clock_config [] = { 0x89, 0x38, 0x38 }; | 206 | static u8 clock_config [] = { 0x89, 0x38, 0x38 }; |
| @@ -543,7 +543,7 @@ static int dvb_register(struct cx8802_dev *dev) | |||
| 543 | } | 543 | } |
| 544 | break; | 544 | break; |
| 545 | case CX88_BOARD_DNTV_LIVE_DVB_T_PRO: | 545 | case CX88_BOARD_DNTV_LIVE_DVB_T_PRO: |
| 546 | #ifdef HAVE_VP3054_I2C | 546 | #if defined(CONFIG_VIDEO_CX88_VP3054) || defined(CONFIG_VIDEO_CX88_VP3054_MODULE) |
| 547 | dev->core->pll_addr = 0x61; | 547 | dev->core->pll_addr = 0x61; |
| 548 | dev->core->pll_desc = &dvb_pll_fmd1216me; | 548 | dev->core->pll_desc = &dvb_pll_fmd1216me; |
| 549 | dev->dvb.frontend = dvb_attach(mt352_attach, &dntv_live_dvbt_pro_config, | 549 | dev->dvb.frontend = dvb_attach(mt352_attach, &dntv_live_dvbt_pro_config, |
| @@ -793,7 +793,7 @@ static int cx8802_dvb_probe(struct cx8802_driver *drv) | |||
| 793 | if (!(cx88_boards[core->board].mpeg & CX88_MPEG_DVB)) | 793 | if (!(cx88_boards[core->board].mpeg & CX88_MPEG_DVB)) |
| 794 | goto fail_core; | 794 | goto fail_core; |
| 795 | 795 | ||
| 796 | #ifdef HAVE_VP3054_I2C | 796 | #if defined(CONFIG_VIDEO_CX88_VP3054) || defined(CONFIG_VIDEO_CX88_VP3054_MODULE) |
| 797 | err = vp3054_i2c_probe(dev); | 797 | err = vp3054_i2c_probe(dev); |
| 798 | if (0 != err) | 798 | if (0 != err) |
| 799 | goto fail_core; | 799 | goto fail_core; |
| @@ -822,7 +822,7 @@ static int cx8802_dvb_remove(struct cx8802_driver *drv) | |||
| 822 | /* dvb */ | 822 | /* dvb */ |
| 823 | videobuf_dvb_unregister(&dev->dvb); | 823 | videobuf_dvb_unregister(&dev->dvb); |
| 824 | 824 | ||
| 825 | #ifdef HAVE_VP3054_I2C | 825 | #if defined(CONFIG_VIDEO_CX88_VP3054) || defined(CONFIG_VIDEO_CX88_VP3054_MODULE) |
| 826 | vp3054_i2c_remove(dev); | 826 | vp3054_i2c_remove(dev); |
| 827 | #endif | 827 | #endif |
| 828 | 828 | ||
