aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tea5767.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-06-06 15:10:39 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-07-18 13:24:02 -0400
commit7a91a80a0d1a0a83a94e773ec6245b31b7c4ceed (patch)
treed524d57405944826d4a6c375af1a77bab22546a2 /drivers/media/video/tea5767.c
parent018ec5440b4994f560cdde78be6fb10d7ab370d7 (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/tea5767.c')
-rw-r--r--drivers/media/video/tea5767.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/video/tea5767.c b/drivers/media/video/tea5767.c
index d1c41781ccc4..c5510422aa3e 100644
--- a/drivers/media/video/tea5767.c
+++ b/drivers/media/video/tea5767.c
@@ -350,11 +350,11 @@ int tea5767_tuner_init(struct i2c_client *c)
350 tuner_info("type set to %d (%s)\n", t->type, "Philips TEA5767HN FM Radio"); 350 tuner_info("type set to %d (%s)\n", t->type, "Philips TEA5767HN FM Radio");
351 strlcpy(c->name, "tea5767", sizeof(c->name)); 351 strlcpy(c->name, "tea5767", sizeof(c->name));
352 352
353 t->set_tv_freq = set_tv_freq; 353 t->ops.set_tv_freq = set_tv_freq;
354 t->set_radio_freq = set_radio_freq; 354 t->ops.set_radio_freq = set_radio_freq;
355 t->has_signal = tea5767_signal; 355 t->ops.has_signal = tea5767_signal;
356 t->is_stereo = tea5767_stereo; 356 t->ops.is_stereo = tea5767_stereo;
357 t->standby = tea5767_standby; 357 t->ops.standby = tea5767_standby;
358 358
359 return (0); 359 return (0);
360} 360}