Commit 9cd1850f authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] dib3000mc build fix

- Build fix for older gcc's

- Don't typecast when assigning between void*'s and other pointers.

cc: <js@linuxtv.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 48f7ee5a
......@@ -562,9 +562,11 @@ static int dib3000mc_set_frontend(struct dvb_frontend* fe,
static int dib3000mc_fe_init(struct dvb_frontend* fe, int mobile_mode)
{
struct dib3000_state *state;
deb_info("init start\n");
struct dib3000_state* state = (struct dib3000_state*) fe->demodulator_priv;
state = fe->demodulator_priv;
state->timing_offset = 0;
state->timing_offset_comp_done = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment