diff options
Diffstat (limited to 'drivers/media/dvb/ttpci/budget-patch.c')
-rw-r--r-- | drivers/media/dvb/ttpci/budget-patch.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/media/dvb/ttpci/budget-patch.c b/drivers/media/dvb/ttpci/budget-patch.c index 82dbef863e51..d043e1f50d92 100644 --- a/drivers/media/dvb/ttpci/budget-patch.c +++ b/drivers/media/dvb/ttpci/budget-patch.c | |||
@@ -367,9 +367,7 @@ static void frontend_init(struct budget_patch* budget) | |||
367 | } else { | 367 | } else { |
368 | if (dvb_register_frontend(&budget->dvb_adapter, budget->dvb_frontend)) { | 368 | if (dvb_register_frontend(&budget->dvb_adapter, budget->dvb_frontend)) { |
369 | printk("budget-av: Frontend registration failed!\n"); | 369 | printk("budget-av: Frontend registration failed!\n"); |
370 | dvb_detach(budget->dvb_frontend->ops.release_sec, budget->dvb_frontend); | 370 | dvb_frontend_detach(budget->dvb_frontend); |
371 | dvb_detach(budget->dvb_frontend->ops.tuner_ops.release, budget->dvb_frontend); | ||
372 | dvb_detach(budget->dvb_frontend->ops.release, budget->dvb_frontend); | ||
373 | budget->dvb_frontend = NULL; | 371 | budget->dvb_frontend = NULL; |
374 | } | 372 | } |
375 | } | 373 | } |
@@ -630,9 +628,7 @@ static int budget_patch_detach (struct saa7146_dev* dev) | |||
630 | 628 | ||
631 | if (budget->dvb_frontend) { | 629 | if (budget->dvb_frontend) { |
632 | dvb_unregister_frontend(budget->dvb_frontend); | 630 | dvb_unregister_frontend(budget->dvb_frontend); |
633 | dvb_detach(budget->dvb_frontend->ops.release_sec, budget->dvb_frontend); | 631 | dvb_frontend_detach(budget->dvb_frontend); |
634 | dvb_detach(budget->dvb_frontend->ops.tuner_ops.release, budget->dvb_frontend); | ||
635 | dvb_detach(budget->dvb_frontend->ops.release, budget->dvb_frontend); | ||
636 | } | 632 | } |
637 | err = ttpci_budget_deinit (budget); | 633 | err = ttpci_budget_deinit (budget); |
638 | 634 | ||