aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tda9887.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-10-21 12:40:56 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:01:07 -0500
commit1dde7a4fa2b197d298c3f1b97a7f78fd1c3a1bda (patch)
treed197c9d1fc5fc0d4ad99481621a9fd99b567e27b /drivers/media/video/tda9887.c
parent5bea1cd3871351d70cc7624af138f8aa68b7be77 (diff)
V4L/DVB (6436): tuner: move analog_tuner_ops into dvb_frontend_ops
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/tda9887.c')
-rw-r--r--drivers/media/video/tda9887.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/tda9887.c b/drivers/media/video/tda9887.c
index be5387f11afb..d9bfa812ffe8 100644
--- a/drivers/media/video/tda9887.c
+++ b/drivers/media/video/tda9887.c
@@ -610,7 +610,7 @@ static void tda9887_release(struct tuner *t)
610 t->priv = NULL; 610 t->priv = NULL;
611} 611}
612 612
613static struct tuner_operations tda9887_tuner_ops = { 613static struct analog_tuner_ops tda9887_tuner_ops = {
614 .set_tv_freq = tda9887_set_freq, 614 .set_tv_freq = tda9887_set_freq,
615 .set_radio_freq = tda9887_set_freq, 615 .set_radio_freq = tda9887_set_freq,
616 .standby = tda9887_standby, 616 .standby = tda9887_standby,
@@ -636,7 +636,7 @@ int tda9887_tuner_init(struct tuner *t)
636 tda9887_info("tda988[5/6/7] found @ 0x%x (%s)\n", t->i2c.addr, 636 tda9887_info("tda988[5/6/7] found @ 0x%x (%s)\n", t->i2c.addr,
637 t->i2c.driver->driver.name); 637 t->i2c.driver->driver.name);
638 638
639 memcpy(&t->ops, &tda9887_tuner_ops, sizeof(struct tuner_operations)); 639 t->fe.ops.analog_demod_ops = &tda9887_tuner_ops;
640 640
641 return 0; 641 return 0;
642} 642}