diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-12-26 12:20:02 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-12-31 06:37:07 -0500 |
commit | 5135986eb0da04faf7313a276e6f7ad7dbed6edb (patch) | |
tree | bd72bbe7bdd0984369cc02578d9fcd8a8693e9df /drivers | |
parent | 5715836fb930403086ca503bb3ffdea8131194d4 (diff) |
[media] stb6100: use get_frontend, instead of get_frontend_legacy()
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/dvb/frontends/stb6100.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/dvb/frontends/stb6100.c b/drivers/media/dvb/frontends/stb6100.c index 7f68fd3c33ed..a56676399346 100644 --- a/drivers/media/dvb/frontends/stb6100.c +++ b/drivers/media/dvb/frontends/stb6100.c | |||
@@ -327,7 +327,7 @@ static int stb6100_set_frequency(struct dvb_frontend *fe, u32 frequency) | |||
327 | int rc; | 327 | int rc; |
328 | const struct stb6100_lkup *ptr; | 328 | const struct stb6100_lkup *ptr; |
329 | struct stb6100_state *state = fe->tuner_priv; | 329 | struct stb6100_state *state = fe->tuner_priv; |
330 | struct dvb_frontend_parameters p; | 330 | struct dtv_frontend_properties p; |
331 | 331 | ||
332 | u32 srate = 0, fvco, nint, nfrac; | 332 | u32 srate = 0, fvco, nint, nfrac; |
333 | u8 regs[STB6100_NUMREGS]; | 333 | u8 regs[STB6100_NUMREGS]; |
@@ -335,11 +335,11 @@ static int stb6100_set_frequency(struct dvb_frontend *fe, u32 frequency) | |||
335 | 335 | ||
336 | dprintk(verbose, FE_DEBUG, 1, "Version 2010-8-14 13:51"); | 336 | dprintk(verbose, FE_DEBUG, 1, "Version 2010-8-14 13:51"); |
337 | 337 | ||
338 | if (fe->ops.get_frontend_legacy) { | 338 | if (fe->ops.get_frontend) { |
339 | dprintk(verbose, FE_DEBUG, 1, "Get frontend parameters"); | 339 | dprintk(verbose, FE_DEBUG, 1, "Get frontend parameters"); |
340 | fe->ops.get_frontend_legacy(fe, &p); | 340 | fe->ops.get_frontend(fe, &p); |
341 | } | 341 | } |
342 | srate = p.u.qpsk.symbol_rate; | 342 | srate = p.symbol_rate; |
343 | 343 | ||
344 | /* Set up tuner cleanly, LPF calibration on */ | 344 | /* Set up tuner cleanly, LPF calibration on */ |
345 | rc = stb6100_write_reg(state, STB6100_FCCK, 0x4d | STB6100_FCCK_FCCK); | 345 | rc = stb6100_write_reg(state, STB6100_FCCK, 0x4d | STB6100_FCCK_FCCK); |