Skip to content

Commit

Permalink
V4L/DVB (7812): 2.6.25-rc5-mm1 specifc div64_u64 fixes
Browse files Browse the repository at this point in the history
Rename a few more div64_u64 which are only in -mm.

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Roman Zippel authored and Mauro Carvalho Chehab committed Jul 23, 2008
1 parent 29e031d commit 22b0119
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 @@ -1026,13 +1026,13 @@ static int drx_tune(struct drx397xD_state *s,

{
/* Configure bandwidth specific factor */
ebx = div64_64(((u64) (s->f_osc) << 21) + (ebx >> 1),
ebx = div64_u64(((u64) (s->f_osc) << 21) + (ebx >> 1),
(u64)ebx) - 0x800000;
EXIT_RC(WR16(s, 0x0c50010, ebx & 0xffff));
EXIT_RC(WR16(s, 0x0c50011, ebx >> 16));

/* drx397xD oscillator calibration */
ebx = div64_64(((u64) (s->config.f_if + df_tuner) << 28) +
ebx = div64_u64(((u64) (s->config.f_if + df_tuner) << 28) +
(s->f_osc >> 1), (u64)s->f_osc);
}
ebx &= 0xfffffff;
Expand Down

0 comments on commit 22b0119

Please sign in to comment.