Skip to content

Commit

Permalink
[media] stb0899: convert get_frontend to the new struct
Browse files Browse the repository at this point in the history
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Mauro Carvalho Chehab committed Dec 31, 2011
1 parent 14e3dcc commit 5715836
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/media/dvb/frontends/stb0899_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1589,13 +1589,13 @@ static int stb0899_track(struct dvb_frontend *fe, struct dvb_frontend_parameters
return 0;
}

static int stb0899_get_frontend(struct dvb_frontend *fe, struct dvb_frontend_parameters *p)
static int stb0899_get_frontend(struct dvb_frontend *fe, struct dtv_frontend_properties *p)
{
struct stb0899_state *state = fe->demodulator_priv;
struct stb0899_internal *internal = &state->internal;

dprintk(state->verbose, FE_DEBUG, 1, "Get params");
p->u.qpsk.symbol_rate = internal->srate;
p->symbol_rate = internal->srate;

return 0;
}
Expand Down Expand Up @@ -1648,7 +1648,7 @@ static struct dvb_frontend_ops stb0899_ops = {
.get_frontend_algo = stb0899_frontend_algo,
.search = stb0899_search,
.track = stb0899_track,
.get_frontend_legacy = stb0899_get_frontend,
.get_frontend = stb0899_get_frontend,


.read_status = stb0899_read_status,
Expand Down

0 comments on commit 5715836

Please sign in to comment.