diff options
Diffstat (limited to 'drivers/media/dvb/dvb-usb/opera1.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/opera1.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/dvb/dvb-usb/opera1.c b/drivers/media/dvb/dvb-usb/opera1.c index 2e4fab7215f5..170b1ef16fac 100644 --- a/drivers/media/dvb/dvb-usb/opera1.c +++ b/drivers/media/dvb/dvb-usb/opera1.c | |||
@@ -263,10 +263,10 @@ static struct stv0299_config opera1_stv0299_config = { | |||
263 | 263 | ||
264 | static int opera1_frontend_attach(struct dvb_usb_adapter *d) | 264 | static int opera1_frontend_attach(struct dvb_usb_adapter *d) |
265 | { | 265 | { |
266 | if ((d->fe = | 266 | if ((d->fe[0] = |
267 | dvb_attach(stv0299_attach, &opera1_stv0299_config, | 267 | dvb_attach(stv0299_attach, &opera1_stv0299_config, |
268 | &d->dev->i2c_adap)) != NULL) { | 268 | &d->dev->i2c_adap)) != NULL) { |
269 | d->fe->ops.set_voltage = opera1_set_voltage; | 269 | d->fe[0]->ops.set_voltage = opera1_set_voltage; |
270 | return 0; | 270 | return 0; |
271 | } | 271 | } |
272 | info("not attached stv0299"); | 272 | info("not attached stv0299"); |
@@ -276,7 +276,7 @@ static int opera1_frontend_attach(struct dvb_usb_adapter *d) | |||
276 | static int opera1_tuner_attach(struct dvb_usb_adapter *adap) | 276 | static int opera1_tuner_attach(struct dvb_usb_adapter *adap) |
277 | { | 277 | { |
278 | dvb_attach( | 278 | dvb_attach( |
279 | dvb_pll_attach, adap->fe, 0xc0>>1, | 279 | dvb_pll_attach, adap->fe[0], 0xc0>>1, |
280 | &adap->dev->i2c_adap, DVB_PLL_OPERA1 | 280 | &adap->dev->i2c_adap, DVB_PLL_OPERA1 |
281 | ); | 281 | ); |
282 | return 0; | 282 | return 0; |