diff options
author | Andrew de Quincy <devnull@localhost> | 2004-12-16 23:55:25 +0000 |
---|---|---|
committer | Andrew de Quincy <devnull@localhost> | 2004-12-16 23:55:25 +0000 |
commit | 24b552900ff44ea56c94a94bd601adf544432c15 (patch) | |
tree | 335ec969c3a688b66facb9e51e64826925b4d723 /linux/drivers/media/dvb/frontends/stv0297.c | |
parent | 6aeca2870e2a28736c99884f1848354966a5dda1 (diff) | |
download | mediapointer-dvb-s2-24b552900ff44ea56c94a94bd601adf544432c15.tar.gz mediapointer-dvb-s2-24b552900ff44ea56c94a94bd601adf544432c15.tar.bz2 |
Compile fix
Diffstat (limited to 'linux/drivers/media/dvb/frontends/stv0297.c')
-rw-r--r-- | linux/drivers/media/dvb/frontends/stv0297.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/stv0297.c b/linux/drivers/media/dvb/frontends/stv0297.c index 647a63e6c..a15e658ad 100644 --- a/linux/drivers/media/dvb/frontends/stv0297.c +++ b/linux/drivers/media/dvb/frontends/stv0297.c @@ -508,7 +508,7 @@ static int stv0297_set_frontend(struct dvb_frontend *fe, struct dvb_frontend_par // determine inversion dependant parameters inversion = p->inversion; - if (fe->config->invert) + if (state->config->invert) inversion = (inversion == INVERSION_ON) ? INVERSION_OFF : INVERSION_ON; carrieroffset = -330; switch (inversion) { @@ -685,7 +685,7 @@ static int stv0297_get_frontend(struct dvb_frontend *fe, struct dvb_frontend_par p->frequency = state->base_freq + state->freq_off; p->inversion = (reg_83 & 0x08) ? INVERSION_ON : INVERSION_OFF; - if (fe->config->invert) + if (state->config->invert) p->inversion = (p->inversion == INVERSION_ON) ? INVERSION_OFF : INVERSION_ON; p->u.qam.symbol_rate = 0; p->u.qam.fec_inner = 0; |