aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tuner-driver.h
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-12-08 15:06:30 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:03:27 -0500
commitc7919d520f4c9a064ae14bc4dd170c4c12ead2af (patch)
treea7cbff8f2a09c710942783a84cb44098ed1507d8 /drivers/media/video/tuner-driver.h
parent6881647cce09931f3d787ab83b5250436427ceb9 (diff)
V4L/DVB (6783): tuner: combine set_tv_freq and set_radio_freq into a single set_params method
We can tell whether we are tuning television or radio by testing for struct analog_parameters *params->mode == V4L2_TUNER_RADIO There is no longer any need for separate set_tv_freq and set_radio_freq functions in the analog tuner demodulator modules. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/tuner-driver.h')
-rw-r--r--drivers/media/video/tuner-driver.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/tuner-driver.h b/drivers/media/video/tuner-driver.h
index a4db32d97a1..91913ee08a0 100644
--- a/drivers/media/video/tuner-driver.h
+++ b/drivers/media/video/tuner-driver.h
@@ -32,8 +32,8 @@ extern unsigned const int tuner_count;
32struct tuner; 32struct tuner;
33 33
34struct analog_tuner_ops { 34struct analog_tuner_ops {
35 void (*set_tv_freq)(struct dvb_frontend *fe, unsigned int freq); 35 void (*set_params)(struct dvb_frontend *fe,
36 void (*set_radio_freq)(struct dvb_frontend *fe, unsigned int freq); 36 struct analog_parameters *params);
37 int (*has_signal)(struct dvb_frontend *fe); 37 int (*has_signal)(struct dvb_frontend *fe);
38 int (*is_stereo)(struct dvb_frontend *fe); 38 int (*is_stereo)(struct dvb_frontend *fe);
39 int (*get_afc)(struct dvb_frontend *fe); 39 int (*get_afc)(struct dvb_frontend *fe);