diff options
Diffstat (limited to 'drivers/media/dvb/pluto2/pluto2.c')
-rw-r--r-- | drivers/media/dvb/pluto2/pluto2.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/dvb/pluto2/pluto2.c b/drivers/media/dvb/pluto2/pluto2.c index 5cc609d986d4..acabea0793b6 100644 --- a/drivers/media/dvb/pluto2/pluto2.c +++ b/drivers/media/dvb/pluto2/pluto2.c | |||
@@ -473,8 +473,8 @@ static int lg_tdtpe001p_tuner_set_params(struct dvb_frontend *fe, | |||
473 | msg.buf = buf; | 473 | msg.buf = buf; |
474 | msg.len = sizeof(buf); | 474 | msg.len = sizeof(buf); |
475 | 475 | ||
476 | if (fe->ops->i2c_gate_ctrl) | 476 | if (fe->ops.i2c_gate_ctrl) |
477 | fe->ops->i2c_gate_ctrl(fe, 1); | 477 | fe->ops.i2c_gate_ctrl(fe, 1); |
478 | ret = i2c_transfer(&pluto->i2c_adap, &msg, 1); | 478 | ret = i2c_transfer(&pluto->i2c_adap, &msg, 1); |
479 | if (ret < 0) | 479 | if (ret < 0) |
480 | return ret; | 480 | return ret; |
@@ -511,12 +511,12 @@ static int __devinit frontend_init(struct pluto *pluto) | |||
511 | dev_err(&pluto->pdev->dev, "could not attach frontend\n"); | 511 | dev_err(&pluto->pdev->dev, "could not attach frontend\n"); |
512 | return -ENODEV; | 512 | return -ENODEV; |
513 | } | 513 | } |
514 | pluto->fe->ops->tuner_ops.set_params = lg_tdtpe001p_tuner_set_params; | 514 | pluto->fe->ops.tuner_ops.set_params = lg_tdtpe001p_tuner_set_params; |
515 | 515 | ||
516 | ret = dvb_register_frontend(&pluto->dvb_adapter, pluto->fe); | 516 | ret = dvb_register_frontend(&pluto->dvb_adapter, pluto->fe); |
517 | if (ret < 0) { | 517 | if (ret < 0) { |
518 | if (pluto->fe->ops->release) | 518 | if (pluto->fe->ops.release) |
519 | pluto->fe->ops->release(pluto->fe); | 519 | pluto->fe->ops.release(pluto->fe); |
520 | return ret; | 520 | return ret; |
521 | } | 521 | } |
522 | 522 | ||