aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-08-30 22:00:43 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-09 21:07:44 -0400
commit8fb3b9f7a9e0420150bf6cb8a3c20f45d372cce4 (patch)
tree08f7b129d2c79b8c8cf86b17016820f18e8b747f /drivers
parentca805d57cf5ea7482ed3da28653f30621249ee45 (diff)
V4L/DVB (6136): dvb_frontend: add get_rf_strength function pointer to dvb_tuner_ops
Add get_rf_strength function pointer to dvb_tuner_ops, so that rf signal strength can be read directly from the tuner driver by the dvb demodulator driver and / or the analog tuning system. This is an internal api addition -- userspace is not affected. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/dvb/dvb-core/dvb_frontend.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.h b/drivers/media/dvb/dvb-core/dvb_frontend.h
index ffb83b0f68c3..a5262e852c82 100644
--- a/drivers/media/dvb/dvb-core/dvb_frontend.h
+++ b/drivers/media/dvb/dvb-core/dvb_frontend.h
@@ -90,6 +90,7 @@ struct dvb_tuner_ops {
90#define TUNER_STATUS_LOCKED 1 90#define TUNER_STATUS_LOCKED 1
91#define TUNER_STATUS_STEREO 2 91#define TUNER_STATUS_STEREO 2
92 int (*get_status)(struct dvb_frontend *fe, u32 *status); 92 int (*get_status)(struct dvb_frontend *fe, u32 *status);
93 int (*get_rf_strength)(struct dvb_frontend *fe, u16 *strength);
93 94
94 /** These are provided seperately from set_params in order to facilitate silicon 95 /** These are provided seperately from set_params in order to facilitate silicon
95 * tuners which require sophisticated tuning loops, controlling each parameter seperately. */ 96 * tuners which require sophisticated tuning loops, controlling each parameter seperately. */