diff options
-rw-r--r-- | drivers/media/video/tda8290.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/video/tda8290.c b/drivers/media/video/tda8290.c index 09efb6a60dbc..d5517bcf6ffe 100644 --- a/drivers/media/video/tda8290.c +++ b/drivers/media/video/tda8290.c | |||
@@ -587,7 +587,7 @@ static int tda829x_find_tuner(struct dvb_frontend *fe) | |||
587 | 587 | ||
588 | if (data == 0x83) { | 588 | if (data == 0x83) { |
589 | priv->ver |= TDA18271; | 589 | priv->ver |= TDA18271; |
590 | tda18271_attach(&t->fe, priv->tda827x_addr, | 590 | tda18271_attach(fe, priv->tda827x_addr, |
591 | priv->i2c_props.adap); | 591 | priv->i2c_props.adap); |
592 | } else { | 592 | } else { |
593 | if ((data & 0x3c) == 0) | 593 | if ((data & 0x3c) == 0) |
@@ -595,14 +595,14 @@ static int tda829x_find_tuner(struct dvb_frontend *fe) | |||
595 | else | 595 | else |
596 | priv->ver |= TDA8275A; | 596 | priv->ver |= TDA8275A; |
597 | 597 | ||
598 | tda827x_attach(&t->fe, priv->tda827x_addr, | 598 | tda827x_attach(fe, priv->tda827x_addr, |
599 | priv->i2c_props.adap, &priv->cfg); | 599 | priv->i2c_props.adap, &priv->cfg); |
600 | } | 600 | } |
601 | if (t->fe.ops.tuner_ops.init) | 601 | if (fe->ops.tuner_ops.init) |
602 | t->fe.ops.tuner_ops.init(&t->fe); | 602 | fe->ops.tuner_ops.init(fe); |
603 | 603 | ||
604 | if (t->fe.ops.tuner_ops.sleep) | 604 | if (fe->ops.tuner_ops.sleep) |
605 | t->fe.ops.tuner_ops.sleep(&t->fe); | 605 | fe->ops.tuner_ops.sleep(fe); |
606 | 606 | ||
607 | ops->i2c_gate_ctrl(fe, 0); | 607 | ops->i2c_gate_ctrl(fe, 0); |
608 | 608 | ||