summaryrefslogtreecommitdiff
path: root/drivers/media/video/tda9887.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-06-06 23:10:39 +0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-07-18 21:24:02 +0400
commit7a91a80a0d1a0a83a94e773ec6245b31b7c4ceed (patch)
treed524d57405944826d4a6c375af1a77bab22546a2 /drivers/media/video/tda9887.c
parent018ec5440b4994f560cdde78be6fb10d7ab370d7 (diff)
downloadlinux-7a91a80a0d1a0a83a94e773ec6245b31b7c4ceed.tar.xz
V4L/DVB (5753): Tuner: create struct tuner_operations
Move tuner callback function pointers out of struct tuner, into struct tuner_operations. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/tda9887.c')
-rw-r--r--drivers/media/video/tda9887.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/video/tda9887.c b/drivers/media/video/tda9887.c
index f0443cc02e5c..5bb7d19edfbc 100644
--- a/drivers/media/video/tda9887.c
+++ b/drivers/media/video/tda9887.c
@@ -614,12 +614,12 @@ int tda9887_tuner_init(struct i2c_client *c)
tda9887_info("tda988[5/6/7] found @ 0x%x (%s)\n", t->i2c.addr,
t->i2c.driver->driver.name);
- t->set_tv_freq = tda9887_set_freq;
- t->set_radio_freq = tda9887_set_freq;
- t->standby = tda9887_standby;
- t->tuner_status = tda9887_tuner_status;
- t->get_afc = tda9887_get_afc;
- t->release = tda9887_release;
+ t->ops.set_tv_freq = tda9887_set_freq;
+ t->ops.set_radio_freq = tda9887_set_freq;
+ t->ops.standby = tda9887_standby;
+ t->ops.tuner_status = tda9887_tuner_status;
+ t->ops.get_afc = tda9887_get_afc;
+ t->ops.release = tda9887_release;
return 0;
}