diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2007-06-06 15:10:39 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-18 13:24:02 -0400 |
commit | 7a91a80a0d1a0a83a94e773ec6245b31b7c4ceed (patch) | |
tree | d524d57405944826d4a6c375af1a77bab22546a2 /drivers/media/video/tda9887.c | |
parent | 018ec5440b4994f560cdde78be6fb10d7ab370d7 (diff) |
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.c | 12 |
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) | |||
614 | tda9887_info("tda988[5/6/7] found @ 0x%x (%s)\n", t->i2c.addr, | 614 | tda9887_info("tda988[5/6/7] found @ 0x%x (%s)\n", t->i2c.addr, |
615 | t->i2c.driver->driver.name); | 615 | t->i2c.driver->driver.name); |
616 | 616 | ||
617 | t->set_tv_freq = tda9887_set_freq; | 617 | t->ops.set_tv_freq = tda9887_set_freq; |
618 | t->set_radio_freq = tda9887_set_freq; | 618 | t->ops.set_radio_freq = tda9887_set_freq; |
619 | t->standby = tda9887_standby; | 619 | t->ops.standby = tda9887_standby; |
620 | t->tuner_status = tda9887_tuner_status; | 620 | t->ops.tuner_status = tda9887_tuner_status; |
621 | t->get_afc = tda9887_get_afc; | 621 | t->ops.get_afc = tda9887_get_afc; |
622 | t->release = tda9887_release; | 622 | t->ops.release = tda9887_release; |
623 | 623 | ||
624 | return 0; | 624 | return 0; |
625 | } | 625 | } |