aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-08-22 12:31:59 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-12 07:36:51 -0400
commit06fcadbf8b63e395d3ae8421a8c3cb2dfd0bc56b (patch)
treeb01f3117c758667412ae12d344dcba5ba4b6683d /drivers/media/dvb/frontends
parente9e24cee67bf71b929b646387f286e907cbde5fc (diff)
V4L/DVB (8730): drx397xD: fix compilation error caused by changeset 71046dfb0853
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends')
-rw-r--r--drivers/media/dvb/frontends/drx397xD.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/drx397xD.c b/drivers/media/dvb/frontends/drx397xD.c
index 0cf3af2f7da2..b9ca5c8d2dd9 100644
--- a/drivers/media/dvb/frontends/drx397xD.c
+++ b/drivers/media/dvb/frontends/drx397xD.c
@@ -1488,13 +1488,13 @@ struct dvb_frontend *drx397xD_attach(const struct drx397xD_config *config,
1488 memcpy(&state->config, config, sizeof(struct drx397xD_config)); 1488 memcpy(&state->config, config, sizeof(struct drx397xD_config));
1489 1489
1490 /* check if the demod is there */ 1490 /* check if the demod is there */
1491 if (RD16(s, 0x2410019) < 0) 1491 if (RD16(state, 0x2410019) < 0)
1492 goto error; 1492 goto error;
1493 1493
1494 /* create dvb_frontend */ 1494 /* create dvb_frontend */
1495 memcpy(&state->frontend.ops, &drx397x_ops, 1495 memcpy(&state->frontend.ops, &drx397x_ops,
1496 sizeof(struct dvb_frontend_ops)); 1496 sizeof(struct dvb_frontend_ops));
1497 state->frontend.demodulator_priv = s; 1497 state->frontend.demodulator_priv = state;
1498 1498
1499 return &state->frontend; 1499 return &state->frontend;
1500error: 1500error: