summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/stv0900_core.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-12-26 18:03:12 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-12-31 10:16:32 -0200
commit41da5320df6decec7efce0d936ccadfa9deb49d1 (patch)
treef7c1e8c879909d7c283a9c76441e76d7a478f4f1 /drivers/media/dvb/frontends/stv0900_core.c
parent7e0722215a510921cbb73ab4c37477d4dcb91bf8 (diff)
downloadop-kernel-dev-41da5320df6decec7efce0d936ccadfa9deb49d1.zip
op-kernel-dev-41da5320df6decec7efce0d936ccadfa9deb49d1.tar.gz
[media] dvb: don't pass a DVBv3 parameter for search() fops
Just like the other DVB algorithms, drivers should use the DVBv5 way to retrieve parameters: via the cache struct. Actually, several drivers were partially using the DVBv3 struct and partially using the DVBv5 way, with is confusing and may lead into troubles. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/stv0900_core.c')
-rw-r--r--drivers/media/dvb/frontends/stv0900_core.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/stv0900_core.c b/drivers/media/dvb/frontends/stv0900_core.c
index 3f7e62f..83e9a81 100644
--- a/drivers/media/dvb/frontends/stv0900_core.c
+++ b/drivers/media/dvb/frontends/stv0900_core.c
@@ -1558,8 +1558,7 @@ static int stv0900_status(struct stv0900_internal *intp,
return locked;
}
-static enum dvbfe_search stv0900_search(struct dvb_frontend *fe,
- struct dvb_frontend_parameters *params)
+static enum dvbfe_search stv0900_search(struct dvb_frontend *fe)
{
struct stv0900_state *state = fe->demodulator_priv;
struct stv0900_internal *intp = state->internal;
OpenPOWER on IntegriCloud