[media] dvb-core: define general callback value for demodulator
authorAntti Palosaari <crope@iki.fi>
Tue, 10 Jan 2012 23:33:43 +0000 (20:33 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 11 Jan 2012 00:58:39 +0000 (22:58 -0200)
Allow use of that general callback for demod too.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-core/dvb_frontend.h

index 0a080c3..d63a821 100644 (file)
@@ -384,6 +384,7 @@ struct dvb_frontend {
        void *analog_demod_priv;
        struct dtv_frontend_properties dtv_property_cache;
 #define DVB_FRONTEND_COMPONENT_TUNER 0
+#define DVB_FRONTEND_COMPONENT_DEMOD 1
        int (*callback)(void *adapter_priv, int component, int cmd, int arg);
        int id;
 };