diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2007-12-08 14:25:41 -0500 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2007-12-08 14:25:41 -0500 |
commit | 9cb13d03db18063f6095559ae6578d2c264f3499 (patch) | |
tree | 1bef8ef3f35d7072d431d5698bc4d24d0bf30f10 /linux/drivers/media | |
parent | 5dc775e127d360434ec57d546ec496877e2448d6 (diff) | |
download | mediapointer-dvb-s2-9cb13d03db18063f6095559ae6578d2c264f3499.tar.gz mediapointer-dvb-s2-9cb13d03db18063f6095559ae6578d2c264f3499.tar.bz2 |
tda8290: access frontend structure directly, where possible
From: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/video/tda8290.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/linux/drivers/media/video/tda8290.c b/linux/drivers/media/video/tda8290.c index b6fdc01eb..86b9fa451 100644 --- a/linux/drivers/media/video/tda8290.c +++ b/linux/drivers/media/video/tda8290.c @@ -618,7 +618,7 @@ static int tda829x_find_tuner(struct dvb_frontend *fe) if (data == 0x83) { priv->ver |= TDA18271; - tda18271_attach(&t->fe, priv->tda827x_addr, + tda18271_attach(fe, priv->tda827x_addr, priv->i2c_props.adap); } else { if ((data & 0x3c) == 0) @@ -626,14 +626,14 @@ static int tda829x_find_tuner(struct dvb_frontend *fe) else priv->ver |= TDA8275A; - tda827x_attach(&t->fe, priv->tda827x_addr, + tda827x_attach(fe, priv->tda827x_addr, priv->i2c_props.adap, &priv->cfg); } - if (t->fe.ops.tuner_ops.init) - t->fe.ops.tuner_ops.init(&t->fe); + if (fe->ops.tuner_ops.init) + fe->ops.tuner_ops.init(fe); - if (t->fe.ops.tuner_ops.sleep) - t->fe.ops.tuner_ops.sleep(&t->fe); + if (fe->ops.tuner_ops.sleep) + fe->ops.tuner_ops.sleep(fe); ops->i2c_gate_ctrl(fe, 0); |