Skip to content

Commit

Permalink
V4L/DVB (4382): Dvb_attach modifications to dvb frontend structures
Browse files Browse the repository at this point in the history
Add write() op
Add release_sec() op
Add change misc_priv->sec_priv data field
Acked-by: Michael Krufky <mkrufky@linuxtv.org>
Acked-by: Trent Piepho <xyzzy@speakeasy.org>

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Andrew de Quincey authored and Mauro Carvalho Chehab committed Sep 26, 2006
1 parent 0e957be commit 94cbae5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion drivers/media/dvb/dvb-core/dvb_frontend.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,13 @@ struct dvb_frontend_ops {
struct dvb_frontend_info info;

void (*release)(struct dvb_frontend* fe);
void (*release_sec)(struct dvb_frontend* fe);

int (*init)(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 */
int (*tune)(struct dvb_frontend* fe,
struct dvb_frontend_parameters* params,
Expand Down Expand Up @@ -147,7 +150,7 @@ struct dvb_frontend {
void* demodulator_priv;
void* tuner_priv;
void* frontend_priv;
void* misc_priv;
void* sec_priv;
};

extern int dvb_register_frontend(struct dvb_adapter* dvb,
Expand Down

0 comments on commit 94cbae5

Please sign in to comment.