diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-03-06 08:15:01 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:43:15 -0400 |
commit | cc5cef8ea4fdc41b44007c5d2c116fe97cb87293 (patch) | |
tree | 76743535f52f266ae0c3e1711503ace8ef2d3861 /drivers/media/video/bt819.c | |
parent | 9185cbfc336a080695304bcb781186559d987974 (diff) |
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/bt819.c')
-rw-r--r-- | drivers/media/video/bt819.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/video/bt819.c b/drivers/media/video/bt819.c index f2ebf8441aa0..e0d8e2b186d1 100644 --- a/drivers/media/video/bt819.c +++ b/drivers/media/video/bt819.c | |||
@@ -248,7 +248,7 @@ static int bt819_s_std(struct v4l2_subdev *sd, v4l2_std_id std) | |||
248 | struct bt819 *decoder = to_bt819(sd); | 248 | struct bt819 *decoder = to_bt819(sd); |
249 | struct timing *timing = NULL; | 249 | struct timing *timing = NULL; |
250 | 250 | ||
251 | v4l2_dbg(1, debug, sd, "set norm %llx\n", std); | 251 | v4l2_dbg(1, debug, sd, "set norm %llx\n", (unsigned long long)std); |
252 | 252 | ||
253 | if (std & V4L2_STD_NTSC) { | 253 | if (std & V4L2_STD_NTSC) { |
254 | bt819_setbit(decoder, 0x01, 0, 1); | 254 | bt819_setbit(decoder, 0x01, 0, 1); |
@@ -267,7 +267,8 @@ static int bt819_s_std(struct v4l2_subdev *sd, v4l2_std_id std) | |||
267 | /* bt819_setbit(decoder, 0x1a, 5, 0); */ | 267 | /* bt819_setbit(decoder, 0x1a, 5, 0); */ |
268 | timing = &timing_data[0]; | 268 | timing = &timing_data[0]; |
269 | } else { | 269 | } else { |
270 | v4l2_dbg(1, debug, sd, "unsupported norm %llx\n", std); | 270 | v4l2_dbg(1, debug, sd, "unsupported norm %llx\n", |
271 | (unsigned long long)std); | ||
271 | return -EINVAL; | 272 | return -EINVAL; |
272 | } | 273 | } |
273 | bt819_write(decoder, 0x03, | 274 | bt819_write(decoder, 0x03, |