Ver Fonte

V4L/DVB (8730): drx397xD: fix compilation error caused by changeset 71046dfb0853

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab há 17 anos atrás
pai
commit
06fcadbf8b
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      drivers/media/dvb/frontends/drx397xD.c

+ 2 - 2
drivers/media/dvb/frontends/drx397xD.c

@@ -1488,13 +1488,13 @@ struct dvb_frontend *drx397xD_attach(const struct drx397xD_config *config,
 	memcpy(&state->config, config, sizeof(struct drx397xD_config));
 	memcpy(&state->config, config, sizeof(struct drx397xD_config));
 
 
 	/* check if the demod is there */
 	/* check if the demod is there */
-	if (RD16(s, 0x2410019) < 0)
+	if (RD16(state, 0x2410019) < 0)
 		goto error;
 		goto error;
 
 
 	/* create dvb_frontend */
 	/* create dvb_frontend */
 	memcpy(&state->frontend.ops, &drx397x_ops,
 	memcpy(&state->frontend.ops, &drx397x_ops,
 			sizeof(struct dvb_frontend_ops));
 			sizeof(struct dvb_frontend_ops));
-	state->frontend.demodulator_priv = s;
+	state->frontend.demodulator_priv = state;
 
 
 	return &state->frontend;
 	return &state->frontend;
 error:
 error: