summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c
index 58b860818..0d3e84bb6 100644
--- a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c
+++ b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c
@@ -514,7 +514,7 @@ static void frontend_init(struct dvb_bt8xx_card *card, u32 type)
state->bt = card->bt;
/* DST is not a frontend, attaching the ASIC */
- if ((dst_attach(state, card->dvb_adapter)) < 0) {
+ if ((dst_attach(state, &card->dvb_adapter)) < 0) {
printk("%s: Could not find a Twinhan DST.\n", __FUNCTION__);
break;
}
@@ -523,7 +523,7 @@ static void frontend_init(struct dvb_bt8xx_card *card, u32 type)
/* Attach other DST peripherals if any */
/* Conditional Access device */
if (state->dst_hw_cap & DST_TYPE_HAS_CA) {
- ret = dst_ca_attach(state, card->dvb_adapter);
+ ret = dst_ca_attach(state, &card->dvb_adapter);
}
if (card->fe != NULL) {
break;