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/tda8290.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/tda8290.c')
-rw-r--r-- | drivers/media/video/tda8290.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/video/tda8290.c b/drivers/media/video/tda8290.c index 2614ea99a9c3..99122ff4e81c 100644 --- a/drivers/media/video/tda8290.c +++ b/drivers/media/video/tda8290.c | |||
@@ -667,11 +667,11 @@ int tda8290_init(struct i2c_client *c) | |||
667 | } | 667 | } |
668 | tuner_info("type set to %s\n", c->name); | 668 | tuner_info("type set to %s\n", c->name); |
669 | 669 | ||
670 | t->set_tv_freq = set_tv_freq; | 670 | t->ops.set_tv_freq = set_tv_freq; |
671 | t->set_radio_freq = set_radio_freq; | 671 | t->ops.set_radio_freq = set_radio_freq; |
672 | t->has_signal = has_signal; | 672 | t->ops.has_signal = has_signal; |
673 | t->standby = standby; | 673 | t->ops.standby = standby; |
674 | t->release = tda8290_release; | 674 | t->ops.release = tda8290_release; |
675 | priv->tda827x_lpsel = 0; | 675 | priv->tda827x_lpsel = 0; |
676 | t->mode = V4L2_TUNER_ANALOG_TV; | 676 | t->mode = V4L2_TUNER_ANALOG_TV; |
677 | 677 | ||