V4L/DVB (7783): drivers/media/dvb/frontends/s5h1420.c: printk fix
authorAndrew Morton <akpm@linux-foundation.org>
Mon, 28 Apr 2008 11:54:56 +0000 (08:54 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 29 Apr 2008 21:41:41 +0000 (18:41 -0300)
drivers/media/dvb/frontends/s5h1420.c: In function `s5h1420_setsymbolrate':
drivers/media/dvb/frontends/s5h1420.c:484: warning: long long unsigned int format, u64 arg (arg 2)

We do not know what type the architecture uses for u64.

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/frontends/s5h1420.c

index 281e1cb2edc67d516361a4114b8864a7c3c716b6..720ed9ff7c5fda6a43b0b5074e16ee28c487eaf0 100644 (file)
@@ -481,7 +481,7 @@ static void s5h1420_setsymbolrate(struct s5h1420_state* state,
                val *= 2;
        do_div(val, (state->fclk / 1000));
 
-       dprintk("symbol rate register: %06llx\n", val);
+       dprintk("symbol rate register: %06llx\n", (unsigned long long)val);
 
        v = s5h1420_readreg(state, Loop01);
        s5h1420_writereg(state, Loop01, v & 0x7f);