diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-01-21 08:55:37 -0500 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2008-01-21 08:55:37 -0500 |
commit | 632f4298b8f361925ed848c6117f0e1f57bd4f00 (patch) | |
tree | 4b8141c47bbe9b725e2892936380c652f9b5c96b /linux | |
parent | 9b771c780d9f19ae15d1e0bd15b6a83c4b8d3f49 (diff) | |
download | mediapointer-dvb-s2-632f4298b8f361925ed848c6117f0e1f57bd4f00.tar.gz mediapointer-dvb-s2-632f4298b8f361925ed848c6117f0e1f57bd4f00.tar.bz2 |
make tuner names consistent with standard cases
From: Michael Krufky <mkrufky@linuxtv.org>
Change TDA9887 to tda9887.
TDA8290 shall reflect the actual hardware present in its name,
ie:
tda8295+18271
tda8290+8275a
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/video/tda8290.c | 8 | ||||
-rw-r--r-- | linux/drivers/media/video/tda9887.c | 2 |
2 files changed, 3 insertions, 7 deletions
diff --git a/linux/drivers/media/video/tda8290.c b/linux/drivers/media/video/tda8290.c index 31bd84600..1bda0024b 100644 --- a/linux/drivers/media/video/tda8290.c +++ b/linux/drivers/media/video/tda8290.c @@ -671,9 +671,6 @@ static int tda8295_probe(struct tuner_i2c_props *i2c_props) } static struct analog_demod_ops tda8290_ops = { - .info = { - .name = "TDA8290", - }, .set_params = tda8290_set_params, .has_signal = tda8290_has_signal, .standby = tda8290_standby, @@ -682,9 +679,6 @@ static struct analog_demod_ops tda8290_ops = { }; static struct analog_demod_ops tda8295_ops = { - .info = { - .name = "TDA8295", - }, .set_params = tda8295_set_params, .has_signal = tda8295_has_signal, .standby = tda8295_standby, @@ -757,6 +751,8 @@ struct dvb_frontend *tda829x_attach(struct dvb_frontend *fe, } tuner_info("type set to %s\n", name); + fe->ops.analog_ops.info.name = name; + if (priv->ver & TDA8290) { tda8290_init_tuner(fe); tda8290_init_if(fe); diff --git a/linux/drivers/media/video/tda9887.c b/linux/drivers/media/video/tda9887.c index 5962e39c3..fda15da1f 100644 --- a/linux/drivers/media/video/tda9887.c +++ b/linux/drivers/media/video/tda9887.c @@ -661,7 +661,7 @@ static void tda9887_release(struct dvb_frontend *fe) static struct analog_demod_ops tda9887_ops = { .info = { - .name = "TDA9887", + .name = "tda9887", }, .set_params = tda9887_set_params, .standby = tda9887_standby, |