aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2012-01-10 11:15:16 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-01-10 19:57:14 -0500
commit6964c308ec84f99a5c3dbc29d9711b71616fcbfc (patch)
tree539c1ceeb2648c94621190ee80bb1b573ce3815e /drivers/media/dvb/frontends
parentb021bd84d27583017f3f50f98bb1b952c8450342 (diff)
[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/media/dvb/frontends')
-rw-r--r--drivers/media/dvb/frontends/hd29l2.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/media/dvb/frontends/hd29l2.c b/drivers/media/dvb/frontends/hd29l2.c
index a85ed47da81..e67d7c410a3 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)
333 return 0; 333 return 0;
334} 334}
335 335
336static enum dvbfe_search hd29l2_search(struct dvb_frontend *fe, 336static enum dvbfe_search hd29l2_search(struct dvb_frontend *fe)
337 struct dvb_frontend_parameters *p)
338{ 337{
339 int ret, i; 338 int ret, i;
340 struct hd29l2_priv *priv = fe->demodulator_priv; 339 struct hd29l2_priv *priv = fe->demodulator_priv;
@@ -356,7 +355,7 @@ static enum dvbfe_search hd29l2_search(struct dvb_frontend *fe,
356 355
357 /* program tuner */ 356 /* program tuner */
358 if (fe->ops.tuner_ops.set_params) 357 if (fe->ops.tuner_ops.set_params)
359 fe->ops.tuner_ops.set_params(fe, p); 358 fe->ops.tuner_ops.set_params(fe);
360 359
361 /* get and program IF */ 360 /* get and program IF */
362 if (fe->ops.tuner_ops.get_if_frequency) 361 if (fe->ops.tuner_ops.get_if_frequency)
@@ -552,8 +551,7 @@ static int hd29l2_get_frontend_algo(struct dvb_frontend *fe)
552 return DVBFE_ALGO_CUSTOM; 551 return DVBFE_ALGO_CUSTOM;
553} 552}
554 553
555static int hd29l2_get_frontend(struct dvb_frontend *fe, 554static int hd29l2_get_frontend(struct dvb_frontend *fe)
556 struct dvb_frontend_parameters *p)
557{ 555{
558 int ret; 556 int ret;
559 struct hd29l2_priv *priv = fe->demodulator_priv; 557 struct hd29l2_priv *priv = fe->demodulator_priv;
@@ -822,9 +820,9 @@ err:
822EXPORT_SYMBOL(hd29l2_attach); 820EXPORT_SYMBOL(hd29l2_attach);
823 821
824static struct dvb_frontend_ops hd29l2_ops = { 822static struct dvb_frontend_ops hd29l2_ops = {
823 .delsys = { SYS_DVBT },
825 .info = { 824 .info = {
826 .name = "HDIC HD29L2 DMB-TH", 825 .name = "HDIC HD29L2 DMB-TH",
827 .type = FE_OFDM,
828 .frequency_min = 474000000, 826 .frequency_min = 474000000,
829 .frequency_max = 858000000, 827 .frequency_max = 858000000,
830 .frequency_stepsize = 10000, 828 .frequency_stepsize = 10000,