aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/bt8xx/dvb-bt8xx.c
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2006-08-08 14:48:08 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-09-26 10:53:37 -0400
commitbbdd11fa957913d6648cabbca59be1da479180ed (patch)
tree48d00e950c54a6cb1d04c3eba4e742a0c829ad9e /drivers/media/dvb/bt8xx/dvb-bt8xx.c
parente4a49d76ca4e2c0b2b4c89d59d43486d781ffe95 (diff)
V4L/DVB (4432): Fix Circular dependencies
Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/bt8xx/dvb-bt8xx.c')
-rw-r--r--drivers/media/dvb/bt8xx/dvb-bt8xx.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/media/dvb/bt8xx/dvb-bt8xx.c b/drivers/media/dvb/bt8xx/dvb-bt8xx.c
index a19991f7af47..fb6c4cc8477d 100644
--- a/drivers/media/dvb/bt8xx/dvb-bt8xx.c
+++ b/drivers/media/dvb/bt8xx/dvb-bt8xx.c
@@ -669,13 +669,17 @@ static void frontend_init(struct dvb_bt8xx_card *card, u32 type)
669 state->config = &dst_config; 669 state->config = &dst_config;
670 state->i2c = card->i2c_adapter; 670 state->i2c = card->i2c_adapter;
671 state->bt = card->bt; 671 state->bt = card->bt;
672 672 state->dst_ca = NULL;
673 /* DST is not a frontend, attaching the ASIC */ 673 /* DST is not a frontend, attaching the ASIC */
674 if (dvb_attach(dst_attach, state, &card->dvb_adapter) == NULL) { 674 if (dvb_attach(dst_attach, state, &card->dvb_adapter) == NULL) {
675 printk("%s: Could not find a Twinhan DST.\n", __FUNCTION__); 675 printk("%s: Could not find a Twinhan DST.\n", __FUNCTION__);
676 break; 676 break;
677 } 677 }
678 /* Attach other DST peripherals if any */
679 /* Conditional Access device */
678 card->fe = &state->frontend; 680 card->fe = &state->frontend;
681 if (state->dst_hw_cap & DST_TYPE_HAS_CA)
682 dvb_attach(dst_ca_attach, state, &card->dvb_adapter);
679 break; 683 break;
680 684
681 case BTTV_BOARD_PINNACLESAT: 685 case BTTV_BOARD_PINNACLESAT: