Skip to content

Commit

Permalink
V4L/DVB (8730): drx397xD: fix compilation error caused by changeset 7…
Browse files Browse the repository at this point in the history
…1046dfb0853

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Mauro Carvalho Chehab authored and Mauro Carvalho Chehab committed Oct 12, 2008
1 parent e9e24ce commit 06fcadb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/dvb/frontends/drx397xD.c
Original file line number Diff line number Diff line change
Expand Up @@ -1488,13 +1488,13 @@ struct dvb_frontend *drx397xD_attach(const struct drx397xD_config *config,
memcpy(&state->config, config, sizeof(struct drx397xD_config));

/* check if the demod is there */
if (RD16(s, 0x2410019) < 0)
if (RD16(state, 0x2410019) < 0)
goto error;

/* create dvb_frontend */
memcpy(&state->frontend.ops, &drx397x_ops,
sizeof(struct dvb_frontend_ops));
state->frontend.demodulator_priv = s;
state->frontend.demodulator_priv = state;

return &state->frontend;
error:
Expand Down

0 comments on commit 06fcadb

Please sign in to comment.