]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (7812): 2.6.25-rc5-mm1 specifc div64_u64 fixes
authorRoman Zippel <zippel@linux-m68k.org>
Wed, 30 Apr 2008 12:52:50 +0000 (09:52 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 23 Jul 2008 11:09:13 +0000 (08:09 -0300)
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>
drivers/media/dvb/frontends/drx397xD.c

index af43546621243b88030088ac0ce7deb68b419452..d71cce93d08e8ecdfe85c475fd34f0db6f86fde3 100644 (file)
@@ -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;