diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-04-29 02:54:19 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-29 17:41:42 -0400 |
commit | a07c8779fd212dcbad886a2824ef5f8b42cd5a06 (patch) | |
tree | cabdff372f14dcb24673e3d675affd53564e9a10 /drivers/media/common | |
parent | 4407a463dd6afc892aedfbdc4237c42136d9f848 (diff) |
V4L/DVB (7789): tuner: remove static dependencies on analog tuner sub-modules
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/common')
-rw-r--r-- | drivers/media/common/tuners/tda8290.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/common/tuners/tda8290.c b/drivers/media/common/tuners/tda8290.c index 0ebb5b525e57..91204d3f282d 100644 --- a/drivers/media/common/tuners/tda8290.c +++ b/drivers/media/common/tuners/tda8290.c | |||
@@ -578,16 +578,16 @@ static int tda829x_find_tuner(struct dvb_frontend *fe) | |||
578 | 578 | ||
579 | if ((data == 0x83) || (data == 0x84)) { | 579 | if ((data == 0x83) || (data == 0x84)) { |
580 | priv->ver |= TDA18271; | 580 | priv->ver |= TDA18271; |
581 | tda18271_attach(fe, priv->tda827x_addr, | 581 | dvb_attach(tda18271_attach, fe, priv->tda827x_addr, |
582 | priv->i2c_props.adap, | 582 | priv->i2c_props.adap, &tda829x_tda18271_config); |
583 | &tda829x_tda18271_config); | ||
584 | } else { | 583 | } else { |
585 | if ((data & 0x3c) == 0) | 584 | if ((data & 0x3c) == 0) |
586 | priv->ver |= TDA8275; | 585 | priv->ver |= TDA8275; |
587 | else | 586 | else |
588 | priv->ver |= TDA8275A; | 587 | priv->ver |= TDA8275A; |
589 | 588 | ||
590 | tda827x_attach(fe, priv->tda827x_addr, priv->i2c_props.adap, &priv->cfg); | 589 | dvb_attach(tda827x_attach, fe, priv->tda827x_addr, |
590 | priv->i2c_props.adap, &priv->cfg); | ||
591 | priv->cfg.switch_addr = priv->i2c_props.addr; | 591 | priv->cfg.switch_addr = priv->i2c_props.addr; |
592 | } | 592 | } |
593 | if (fe->ops.tuner_ops.init) | 593 | if (fe->ops.tuner_ops.init) |