aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb/cinergyT2-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/dvb-usb/cinergyT2-core.c')
-rw-r--r--drivers/media/dvb/dvb-usb/cinergyT2-core.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/cinergyT2-core.c b/drivers/media/dvb/dvb-usb/cinergyT2-core.c
index 0dd42bdbe285..f9d905002ec9 100644
--- a/drivers/media/dvb/dvb-usb/cinergyT2-core.c
+++ b/drivers/media/dvb/dvb-usb/cinergyT2-core.c
@@ -69,7 +69,7 @@ static int cinergyt2_frontend_attach(struct dvb_usb_adapter *adap)
69 char state[3]; 69 char state[3];
70 int ret; 70 int ret;
71 71
72 adap->fe[0] = cinergyt2_fe_attach(adap->dev); 72 adap->fe_adap[0].fe = cinergyt2_fe_attach(adap->dev);
73 73
74 ret = dvb_usb_generic_rw(adap->dev, query, sizeof(query), state, 74 ret = dvb_usb_generic_rw(adap->dev, query, sizeof(query), state,
75 sizeof(state), 0); 75 sizeof(state), 0);
@@ -198,6 +198,8 @@ static struct dvb_usb_device_properties cinergyt2_properties = {
198 .num_adapters = 1, 198 .num_adapters = 1,
199 .adapter = { 199 .adapter = {
200 { 200 {
201 .num_frontends = 1,
202 .fe = {{
201 .streaming_ctrl = cinergyt2_streaming_ctrl, 203 .streaming_ctrl = cinergyt2_streaming_ctrl,
202 .frontend_attach = cinergyt2_frontend_attach, 204 .frontend_attach = cinergyt2_frontend_attach,
203 205
@@ -212,6 +214,7 @@ static struct dvb_usb_device_properties cinergyt2_properties = {
212 } 214 }
213 } 215 }
214 }, 216 },
217 }},
215 } 218 }
216 }, 219 },
217 220