diff options
Diffstat (limited to 'drivers/media/dvb/dvb-usb/vp7045.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/vp7045.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/vp7045.c b/drivers/media/dvb/dvb-usb/vp7045.c index 4264523fcf6..498024cec2d 100644 --- a/drivers/media/dvb/dvb-usb/vp7045.c +++ b/drivers/media/dvb/dvb-usb/vp7045.c | |||
@@ -214,7 +214,7 @@ static int vp7045_frontend_attach(struct dvb_usb_adapter *adap) | |||
214 | /* Dump the EEPROM */ | 214 | /* Dump the EEPROM */ |
215 | /* vp7045_read_eeprom(d,buf, 255, FX2_ID_ADDR); */ | 215 | /* vp7045_read_eeprom(d,buf, 255, FX2_ID_ADDR); */ |
216 | 216 | ||
217 | adap->fe[0] = vp7045_fe_attach(adap->dev); | 217 | adap->fe_adap[0].fe = vp7045_fe_attach(adap->dev); |
218 | 218 | ||
219 | return 0; | 219 | return 0; |
220 | } | 220 | } |
@@ -263,6 +263,8 @@ static struct dvb_usb_device_properties vp7045_properties = { | |||
263 | .num_adapters = 1, | 263 | .num_adapters = 1, |
264 | .adapter = { | 264 | .adapter = { |
265 | { | 265 | { |
266 | .num_frontends = 1, | ||
267 | .fe = {{ | ||
266 | .frontend_attach = vp7045_frontend_attach, | 268 | .frontend_attach = vp7045_frontend_attach, |
267 | /* parameter for the MPEG2-data transfer */ | 269 | /* parameter for the MPEG2-data transfer */ |
268 | .stream = { | 270 | .stream = { |
@@ -275,6 +277,7 @@ static struct dvb_usb_device_properties vp7045_properties = { | |||
275 | } | 277 | } |
276 | } | 278 | } |
277 | }, | 279 | }, |
280 | }}, | ||
278 | } | 281 | } |
279 | }, | 282 | }, |
280 | .power_ctrl = vp7045_power_ctrl, | 283 | .power_ctrl = vp7045_power_ctrl, |