summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/frontends/dvb_dummy_fe.c
diff options
context:
space:
mode:
authorPatrick Boettcher <pb@linuxtv.org>2008-08-30 12:15:54 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-12 09:36:56 -0200
commitbccd7003aef20e040cef95d1216dac26199d7071 (patch)
treeb5c7e2bb8a40ac0778c31854fcbcf8746187609e /drivers/media/dvb/frontends/dvb_dummy_fe.c
parent6ea9a1829a89515c1866151b1fdca7ee612d1490 (diff)
downloadlwn-bccd7003aef20e040cef95d1216dac26199d7071.tar.gz
lwn-bccd7003aef20e040cef95d1216dac26199d7071.zip
V4L/DVB (8866): Add dummy FE to the Kconfig-file and fix it
Reactivated dummy frontend driver which is extremely useful for debugging. Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/dvb_dummy_fe.c')
-rw-r--r--drivers/media/dvb/frontends/dvb_dummy_fe.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/media/dvb/frontends/dvb_dummy_fe.c b/drivers/media/dvb/frontends/dvb_dummy_fe.c
index fed09dfb2b7c..cb4d8a3b9d8b 100644
--- a/drivers/media/dvb/frontends/dvb_dummy_fe.c
+++ b/drivers/media/dvb/frontends/dvb_dummy_fe.c
@@ -75,9 +75,10 @@ static int dvb_dummy_fe_get_frontend(struct dvb_frontend* fe, struct dvb_fronten
static int dvb_dummy_fe_set_frontend(struct dvb_frontend* fe, struct dvb_frontend_parameters *p)
{
- if (fe->ops->tuner_ops->set_params) {
- fe->ops->tuner_ops->set_params(fe, p);
- if (fe->ops->i2c_gate_ctrl) fe->ops->i2c_gate_ctrl(fe, 0);
+ if (fe->ops.tuner_ops.set_params) {
+ fe->ops.tuner_ops.set_params(fe, p);
+ if (fe->ops.i2c_gate_ctrl)
+ fe->ops.i2c_gate_ctrl(fe, 0);
}
return 0;