aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-12-08 14:25:41 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:03:27 -0500
commit6881647cce09931f3d787ab83b5250436427ceb9 (patch)
treee3471f39c79647951fdf67b36e28f9ed477bea19 /drivers/media/video
parent14d5deba2737c59444e805c10764d58a3d73e9b2 (diff)
V4L/DVB (6782): tda8290: access frontend structure directly, where possible
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/tda8290.c12
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