diff options
Diffstat (limited to 'drivers/media/dvb/dvb-usb/vp702x.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/vp702x.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/vp702x.c b/drivers/media/dvb/dvb-usb/vp702x.c index 47b3462cead8..45e31f224814 100644 --- a/drivers/media/dvb/dvb-usb/vp702x.c +++ b/drivers/media/dvb/dvb-usb/vp702x.c | |||
@@ -320,7 +320,7 @@ static int vp702x_frontend_attach(struct dvb_usb_adapter *adap) | |||
320 | 320 | ||
321 | vp702x_init_pid_filter(adap); | 321 | vp702x_init_pid_filter(adap); |
322 | 322 | ||
323 | adap->fe[0] = vp702x_fe_attach(adap->dev); | 323 | adap->fe_adap[0].fe = vp702x_fe_attach(adap->dev); |
324 | vp702x_usb_out_op(adap->dev, SET_TUNER_POWER_REQ, 1, 7, NULL, 0); | 324 | vp702x_usb_out_op(adap->dev, SET_TUNER_POWER_REQ, 1, 7, NULL, 0); |
325 | 325 | ||
326 | return 0; | 326 | return 0; |
@@ -383,6 +383,8 @@ static struct dvb_usb_device_properties vp702x_properties = { | |||
383 | .num_adapters = 1, | 383 | .num_adapters = 1, |
384 | .adapter = { | 384 | .adapter = { |
385 | { | 385 | { |
386 | .num_frontends = 1, | ||
387 | .fe = {{ | ||
386 | .caps = DVB_USB_ADAP_RECEIVES_204_BYTE_TS, | 388 | .caps = DVB_USB_ADAP_RECEIVES_204_BYTE_TS, |
387 | 389 | ||
388 | .streaming_ctrl = vp702x_streaming_ctrl, | 390 | .streaming_ctrl = vp702x_streaming_ctrl, |
@@ -399,6 +401,7 @@ static struct dvb_usb_device_properties vp702x_properties = { | |||
399 | } | 401 | } |
400 | } | 402 | } |
401 | }, | 403 | }, |
404 | }}, | ||
402 | .size_of_priv = sizeof(struct vp702x_adapter_state), | 405 | .size_of_priv = sizeof(struct vp702x_adapter_state), |
403 | } | 406 | } |
404 | }, | 407 | }, |