Commit d74bee8b authored by Andrew Morton's avatar Andrew Morton Committed by Mauro Carvalho Chehab

V4L/DVB (7783): drivers/media/dvb/frontends/s5h1420.c: printk fix

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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent f4d27824
...@@ -481,7 +481,7 @@ static void s5h1420_setsymbolrate(struct s5h1420_state* state, ...@@ -481,7 +481,7 @@ static void s5h1420_setsymbolrate(struct s5h1420_state* state,
val *= 2; val *= 2;
do_div(val, (state->fclk / 1000)); 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); v = s5h1420_readreg(state, Loop01);
s5h1420_writereg(state, Loop01, v & 0x7f); s5h1420_writereg(state, Loop01, v & 0x7f);
......
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