]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/blobdiff - drivers/media/video/sh_mobile_ceu_camera.c
[media] media: vb2: change plane sizes array to unsigned int[]
[can-eth-gw-linux.git] / drivers / media / video / sh_mobile_ceu_camera.c
index e54089802b6b906027b36369984f126d9d8e8830..8298c89226b9ffe8a0b25917da368b0490a73971 100644 (file)
@@ -218,7 +218,7 @@ static int sh_mobile_ceu_soft_reset(struct sh_mobile_ceu_dev *pcdev)
  */
 static int sh_mobile_ceu_videobuf_setup(struct vb2_queue *vq,
                        unsigned int *count, unsigned int *num_planes,
-                       unsigned long sizes[], void *alloc_ctxs[])
+                       unsigned int sizes[], void *alloc_ctxs[])
 {
        struct soc_camera_device *icd = container_of(vq, struct soc_camera_device, vb2_vidq);
        struct soc_camera_host *ici = to_soc_camera_host(icd->parent);
@@ -243,7 +243,7 @@ static int sh_mobile_ceu_videobuf_setup(struct vb2_queue *vq,
                        *count = pcdev->video_limit / PAGE_ALIGN(sizes[0]);
        }
 
-       dev_dbg(icd->parent, "count=%d, size=%lu\n", *count, sizes[0]);
+       dev_dbg(icd->parent, "count=%d, size=%u\n", *count, sizes[0]);
 
        return 0;
 }