]> err.no Git - linux-2.6/commitdiff
V4L/DVB (6136): dvb_frontend: add get_rf_strength function pointer to dvb_tuner_ops
authorMichael Krufky <mkrufky@linuxtv.org>
Fri, 31 Aug 2007 02:00:43 +0000 (23:00 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:07:44 +0000 (22:07 -0300)
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>
drivers/media/dvb/dvb-core/dvb_frontend.h

index ffb83b0f68c3a042142834c6255e7272ed38ed09..a5262e852c822bd0d280cb0d52100a9d5cd22c3d 100644 (file)
@@ -90,6 +90,7 @@ struct dvb_tuner_ops {
 #define TUNER_STATUS_LOCKED 1
 #define TUNER_STATUS_STEREO 2
        int (*get_status)(struct dvb_frontend *fe, u32 *status);
+       int (*get_rf_strength)(struct dvb_frontend *fe, u16 *strength);
 
        /** These are provided seperately from set_params in order to facilitate silicon
         * tuners which require sophisticated tuning loops, controlling each parameter seperately. */