Commit 94cbae5a authored by Andrew de Quincey's avatar Andrew de Quincey Committed by Mauro Carvalho Chehab

V4L/DVB (4382): Dvb_attach modifications to dvb frontend structures

Add write() op
Add release_sec() op
Add change misc_priv->sec_priv data field
Acked-by: default avatarMichael Krufky <mkrufky@linuxtv.org>
Acked-by: default avatarTrent Piepho <xyzzy@speakeasy.org>
Signed-off-by: default avatarAndrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 0e957bec
...@@ -92,10 +92,13 @@ struct dvb_frontend_ops { ...@@ -92,10 +92,13 @@ struct dvb_frontend_ops {
struct dvb_frontend_info info; struct dvb_frontend_info info;
void (*release)(struct dvb_frontend* fe); void (*release)(struct dvb_frontend* fe);
void (*release_sec)(struct dvb_frontend* fe);
int (*init)(struct dvb_frontend* fe); int (*init)(struct dvb_frontend* fe);
int (*sleep)(struct dvb_frontend* fe); int (*sleep)(struct dvb_frontend* fe);
int (*write)(struct dvb_frontend* fe, u8* buf, int len);
/* if this is set, it overrides the default swzigzag */ /* if this is set, it overrides the default swzigzag */
int (*tune)(struct dvb_frontend* fe, int (*tune)(struct dvb_frontend* fe,
struct dvb_frontend_parameters* params, struct dvb_frontend_parameters* params,
...@@ -147,7 +150,7 @@ struct dvb_frontend { ...@@ -147,7 +150,7 @@ struct dvb_frontend {
void* demodulator_priv; void* demodulator_priv;
void* tuner_priv; void* tuner_priv;
void* frontend_priv; void* frontend_priv;
void* misc_priv; void* sec_priv;
}; };
extern int dvb_register_frontend(struct dvb_adapter* dvb, extern int dvb_register_frontend(struct dvb_adapter* dvb,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment