Commit 40346b29 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

V4L/DVB (4485): Fix a warning on PPC64

drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c: In function 'set_standard':
drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c:33: warning: format '%llx' expects type 'long long unsigned int', but argument 2 has type 'v4l2_std_id'
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent d591b9cc
...@@ -31,7 +31,7 @@ static void set_standard(struct pvr2_hdw *hdw) ...@@ -31,7 +31,7 @@ static void set_standard(struct pvr2_hdw *hdw)
v4l2_std_id vs; v4l2_std_id vs;
vs = hdw->std_mask_cur; vs = hdw->std_mask_cur;
pvr2_trace(PVR2_TRACE_CHIPS, pvr2_trace(PVR2_TRACE_CHIPS,
"i2c v4l2 set_standard(0x%llx)",(__u64)vs); "i2c v4l2 set_standard(0x%llx)",(long long unsigned)vs);
pvr2_i2c_core_cmd(hdw,VIDIOC_S_STD,&vs); pvr2_i2c_core_cmd(hdw,VIDIOC_S_STD,&vs);
} }
......
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