aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/mantis/mantis_vp3030.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/mantis/mantis_vp3030.c')
-rw-r--r--drivers/media/dvb/mantis/mantis_vp3030.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/dvb/mantis/mantis_vp3030.c b/drivers/media/dvb/mantis/mantis_vp3030.c
index 1f4334214953..c09308cd3ac6 100644
--- a/drivers/media/dvb/mantis/mantis_vp3030.c
+++ b/drivers/media/dvb/mantis/mantis_vp3030.c
@@ -59,21 +59,21 @@ static int vp3030_frontend_init(struct mantis_pci *mantis, struct dvb_frontend *
59 struct mantis_hwconfig *config = mantis->hwconfig; 59 struct mantis_hwconfig *config = mantis->hwconfig;
60 int err = 0; 60 int err = 0;
61 61
62 gpio_set_bits(mantis, config->reset, 0); 62 mantis_gpio_set_bits(mantis, config->reset, 0);
63 msleep(100); 63 msleep(100);
64 err = mantis_frontend_power(mantis, POWER_ON); 64 err = mantis_frontend_power(mantis, POWER_ON);
65 msleep(100); 65 msleep(100);
66 gpio_set_bits(mantis, config->reset, 1); 66 mantis_gpio_set_bits(mantis, config->reset, 1);
67 67
68 if (err == 0) { 68 if (err == 0) {
69 msleep(250); 69 msleep(250);
70 dprintk(MANTIS_ERROR, 1, "Probing for 10353 (DVB-T)"); 70 dprintk(MANTIS_ERROR, 1, "Probing for 10353 (DVB-T)");
71 fe = zl10353_attach(&mantis_vp3030_config, adapter); 71 fe = dvb_attach(zl10353_attach, &mantis_vp3030_config, adapter);
72 72
73 if (!fe) 73 if (!fe)
74 return -1; 74 return -1;
75 75
76 tda665x_attach(fe, &env57h12d5_config, adapter); 76 dvb_attach(tda665x_attach, fe, &env57h12d5_config, adapter);
77 } else { 77 } else {
78 dprintk(MANTIS_ERROR, 1, "Frontend on <%s> POWER ON failed! <%d>", 78 dprintk(MANTIS_ERROR, 1, "Frontend on <%s> POWER ON failed! <%d>",
79 adapter->name, 79 adapter->name,