summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-12-26 18:20:02 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-12-31 12:37:07 +0100
commit5135986eb0da04faf7313a276e6f7ad7dbed6edb (patch)
treebd72bbe7bdd0984369cc02578d9fcd8a8693e9df /drivers/media/dvb
parent[media] stb0899: convert get_frontend to the new struct (diff)
downloadlinux-5135986eb0da04faf7313a276e6f7ad7dbed6edb.tar.xz
linux-5135986eb0da04faf7313a276e6f7ad7dbed6edb.zip
[media] stb6100: use get_frontend, instead of get_frontend_legacy()
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r--drivers/media/dvb/frontends/stb6100.c8
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)
int rc;
const struct stb6100_lkup *ptr;
struct stb6100_state *state = fe->tuner_priv;
- struct dvb_frontend_parameters p;
+ struct dtv_frontend_properties p;
u32 srate = 0, fvco, nint, nfrac;
u8 regs[STB6100_NUMREGS];
@@ -335,11 +335,11 @@ static int stb6100_set_frequency(struct dvb_frontend *fe, u32 frequency)
dprintk(verbose, FE_DEBUG, 1, "Version 2010-8-14 13:51");
- if (fe->ops.get_frontend_legacy) {
+ if (fe->ops.get_frontend) {
dprintk(verbose, FE_DEBUG, 1, "Get frontend parameters");
- fe->ops.get_frontend_legacy(fe, &p);
+ fe->ops.get_frontend(fe, &p);
}
- srate = p.u.qpsk.symbol_rate;
+ srate = p.symbol_rate;
/* Set up tuner cleanly, LPF calibration on */
rc = stb6100_write_reg(state, STB6100_FCCK, 0x4d | STB6100_FCCK_FCCK);