summaryrefslogtreecommitdiff
path: root/drivers/media/video/adv7175.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-03-06 10:15:01 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 12:43:15 -0300
commitcc5cef8ea4fdc41b44007c5d2c116fe97cb87293 (patch)
tree76743535f52f266ae0c3e1711503ace8ef2d3861 /drivers/media/video/adv7175.c
parent9185cbfc336a080695304bcb781186559d987974 (diff)
downloadlwn-cc5cef8ea4fdc41b44007c5d2c116fe97cb87293.tar.gz
lwn-cc5cef8ea4fdc41b44007c5d2c116fe97cb87293.zip
V4L/DVB (10914): v4l2: fix compile warnings when printing u64 value.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/adv7175.c')
-rw-r--r--drivers/media/video/adv7175.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/video/adv7175.c b/drivers/media/video/adv7175.c
index 709e044f007d..ff1210303295 100644
--- a/drivers/media/video/adv7175.c
+++ b/drivers/media/video/adv7175.c
@@ -228,10 +228,11 @@ static int adv7175_s_std_output(struct v4l2_subdev *sd, v4l2_std_id std)
adv7175_write(sd, 0x07, TR0MODE | TR0RST);
adv7175_write(sd, 0x07, TR0MODE);
} else {
- v4l2_dbg(1, debug, sd, "illegal norm: %llx\n", std);
+ v4l2_dbg(1, debug, sd, "illegal norm: %llx\n",
+ (unsigned long long)std);
return -EINVAL;
}
- v4l2_dbg(1, debug, sd, "switched to %llx\n", std);
+ v4l2_dbg(1, debug, sd, "switched to %llx\n", (unsigned long long)std);
encoder->norm = std;
return 0;
}