aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/stb6000.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/frontends/stb6000.c')
-rw-r--r--drivers/media/dvb/frontends/stb6000.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/dvb/frontends/stb6000.c b/drivers/media/dvb/frontends/stb6000.c
index ed699647050e..a0c3c526b132 100644
--- a/drivers/media/dvb/frontends/stb6000.c
+++ b/drivers/media/dvb/frontends/stb6000.c
@@ -75,9 +75,9 @@ static int stb6000_sleep(struct dvb_frontend *fe)
75 return (ret == 1) ? 0 : ret; 75 return (ret == 1) ? 0 : ret;
76} 76}
77 77
78static int stb6000_set_params(struct dvb_frontend *fe, 78static int stb6000_set_params(struct dvb_frontend *fe)
79 struct dvb_frontend_parameters *params)
80{ 79{
80 struct dtv_frontend_properties *p = &fe->dtv_property_cache;
81 struct stb6000_priv *priv = fe->tuner_priv; 81 struct stb6000_priv *priv = fe->tuner_priv;
82 unsigned int n, m; 82 unsigned int n, m;
83 int ret; 83 int ret;
@@ -93,8 +93,8 @@ static int stb6000_set_params(struct dvb_frontend *fe,
93 93
94 dprintk("%s:\n", __func__); 94 dprintk("%s:\n", __func__);
95 95
96 freq_mhz = params->frequency / 1000; 96 freq_mhz = p->frequency / 1000;
97 bandwidth = params->u.qpsk.symbol_rate / 1000000; 97 bandwidth = p->symbol_rate / 1000000;
98 98
99 if (bandwidth > 31) 99 if (bandwidth > 31)
100 bandwidth = 31; 100 bandwidth = 31;