aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tcm825x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/tcm825x.c')
-rw-r--r--drivers/media/video/tcm825x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/tcm825x.c b/drivers/media/video/tcm825x.c
index 4b973b099e59..3a139f288a9d 100644
--- a/drivers/media/video/tcm825x.c
+++ b/drivers/media/video/tcm825x.c
@@ -635,8 +635,8 @@ static int ioctl_try_fmt_cap(struct v4l2_int_device *s,
635 struct v4l2_pix_format *pix = &f->fmt.pix; 635 struct v4l2_pix_format *pix = &f->fmt.pix;
636 636
637 isize = tcm825x_find_size(s, pix->width, pix->height); 637 isize = tcm825x_find_size(s, pix->width, pix->height);
638 dev_dbg(&sensor->i2c_client->dev, "isize = %d num_capture = %d\n", 638 dev_dbg(&sensor->i2c_client->dev, "isize = %d num_capture = %lu\n",
639 isize, TCM825X_NUM_CAPTURE_FORMATS); 639 isize, (unsigned long)TCM825X_NUM_CAPTURE_FORMATS);
640 640
641 pix->width = tcm825x_sizes[isize].width; 641 pix->width = tcm825x_sizes[isize].width;
642 pix->height = tcm825x_sizes[isize].height; 642 pix->height = tcm825x_sizes[isize].height;