diff options
author | Antti Palosaari <crope@iki.fi> | 2012-01-10 17:15:16 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-01-11 01:57:14 +0100 |
commit | 6964c308ec84f99a5c3dbc29d9711b71616fcbfc (patch) | |
tree | 539c1ceeb2648c94621190ee80bb1b573ce3815e /drivers | |
parent | [media] HDIC HD29L2 DMB-TH USB2.0 reference design driver (diff) | |
download | linux-6964c308ec84f99a5c3dbc29d9711b71616fcbfc.tar.xz linux-6964c308ec84f99a5c3dbc29d9711b71616fcbfc.zip |
[media] hd29l2: synch for latest DVB core changes
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/dvb/frontends/hd29l2.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/media/dvb/frontends/hd29l2.c b/drivers/media/dvb/frontends/hd29l2.c index a85ed47da810..e67d7c410a35 100644 --- a/drivers/media/dvb/frontends/hd29l2.c +++ b/drivers/media/dvb/frontends/hd29l2.c @@ -333,8 +333,7 @@ static int hd29l2_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) return 0; } -static enum dvbfe_search hd29l2_search(struct dvb_frontend *fe, - struct dvb_frontend_parameters *p) +static enum dvbfe_search hd29l2_search(struct dvb_frontend *fe) { int ret, i; struct hd29l2_priv *priv = fe->demodulator_priv; @@ -356,7 +355,7 @@ static enum dvbfe_search hd29l2_search(struct dvb_frontend *fe, /* program tuner */ if (fe->ops.tuner_ops.set_params) - fe->ops.tuner_ops.set_params(fe, p); + fe->ops.tuner_ops.set_params(fe); /* get and program IF */ if (fe->ops.tuner_ops.get_if_frequency) @@ -552,8 +551,7 @@ static int hd29l2_get_frontend_algo(struct dvb_frontend *fe) return DVBFE_ALGO_CUSTOM; } -static int hd29l2_get_frontend(struct dvb_frontend *fe, - struct dvb_frontend_parameters *p) +static int hd29l2_get_frontend(struct dvb_frontend *fe) { int ret; struct hd29l2_priv *priv = fe->demodulator_priv; @@ -822,9 +820,9 @@ err: EXPORT_SYMBOL(hd29l2_attach); static struct dvb_frontend_ops hd29l2_ops = { + .delsys = { SYS_DVBT }, .info = { .name = "HDIC HD29L2 DMB-TH", - .type = FE_OFDM, .frequency_min = 474000000, .frequency_max = 858000000, .frequency_stepsize = 10000, |