summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tea5761.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-06-06 15:10:39 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2007-06-06 15:10:39 -0400
commit6c2e0165de4e6b3991c7b414bff6719f7cc0b427 (patch)
tree5cc29f808b2e111ad99218ab1d955824e9553e3b /linux/drivers/media/video/tea5761.c
parenta3e8a936b8fdb95bae387f41ca9c130387ab30d7 (diff)
downloadmediapointer-dvb-s2-6c2e0165de4e6b3991c7b414bff6719f7cc0b427.tar.gz
mediapointer-dvb-s2-6c2e0165de4e6b3991c7b414bff6719f7cc0b427.tar.bz2
tuner: create struct tuner_operations
From: Michael Krufky <mkrufky@linuxtv.org> Move tuner callback function pointers out of struct tuner, into struct tuner_operations. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/video/tea5761.c')
-rw-r--r--linux/drivers/media/video/tea5761.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/drivers/media/video/tea5761.c b/linux/drivers/media/video/tea5761.c
index 170c2181c..ed8b23649 100644
--- a/linux/drivers/media/video/tea5761.c
+++ b/linux/drivers/media/video/tea5761.c
@@ -230,10 +230,10 @@ int tea5761_tuner_init(struct i2c_client *c)
tuner_info("type set to %d (%s)\n", t->type, "Philips TEA5761HN FM Radio");
strlcpy(c->name, "tea5761", sizeof(c->name));
- t->set_tv_freq = set_tv_freq;
- t->set_radio_freq = set_radio_freq;
- t->has_signal = tea5761_signal;
- t->is_stereo = tea5761_stereo;
+ t->ops.set_tv_freq = set_tv_freq;
+ t->ops.set_radio_freq = set_radio_freq;
+ t->ops.has_signal = tea5761_signal;
+ t->ops.is_stereo = tea5761_stereo;
return (0);
}