[media] dvb-core: define general callback value for demodulator

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>
This commit is contained in:
Antti Palosaari 2012-01-10 20:33:43 -03:00 committed by Mauro Carvalho Chehab
parent 852023b58b
commit b748e6a91e

View File

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