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/tea5761.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/tea5761.c')
-rw-r--r-- | drivers/media/video/tea5761.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/tea5761.c b/drivers/media/video/tea5761.c index 1479f16f9ab3..858f2d11496c 100644 --- a/drivers/media/video/tea5761.c +++ b/drivers/media/video/tea5761.c | |||
@@ -229,10 +229,10 @@ int tea5761_tuner_init(struct i2c_client *c) | |||
229 | tuner_info("type set to %d (%s)\n", t->type, "Philips TEA5761HN FM Radio"); | 229 | tuner_info("type set to %d (%s)\n", t->type, "Philips TEA5761HN FM Radio"); |
230 | strlcpy(c->name, "tea5761", sizeof(c->name)); | 230 | strlcpy(c->name, "tea5761", sizeof(c->name)); |
231 | 231 | ||
232 | t->set_tv_freq = set_tv_freq; | 232 | t->ops.set_tv_freq = set_tv_freq; |
233 | t->set_radio_freq = set_radio_freq; | 233 | t->ops.set_radio_freq = set_radio_freq; |
234 | t->has_signal = tea5761_signal; | 234 | t->ops.has_signal = tea5761_signal; |
235 | t->is_stereo = tea5761_stereo; | 235 | t->ops.is_stereo = tea5761_stereo; |
236 | 236 | ||
237 | return (0); | 237 | return (0); |
238 | } | 238 | } |