aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/mt9v022.c
diff options
context:
space:
mode:
authorMárton Németh <nm127@freemail.hu>2010-02-24 15:13:29 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-17 23:44:09 -0400
commite26b31449142a18512b57dbea515af234992ba7c (patch)
treef3918a70f6ed82a04627517605d5377a047ad836 /drivers/media/video/mt9v022.c
parent02512fe33e9162713cd522937aabc81fcd97ad74 (diff)
V4L/DVB: The first two parameters of soc_camera_limit_side() are usually pointers to struct v4l2_rect elements. They are signed, so adjust the prototype accordingly
This will remove the following sparse warning (see "make C=1"): * incorrect type in argument 1 (different signedness) expected unsigned int *start got signed int *<noident> as well as a couple more signedness mismatches. Signed-off-by: Márton Németh <nm127@freemail.hu> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/mt9v022.c')
-rw-r--r--drivers/media/video/mt9v022.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/mt9v022.c b/drivers/media/video/mt9v022.c
index 1a34d2993e94..e5bae4c9393b 100644
--- a/drivers/media/video/mt9v022.c
+++ b/drivers/media/video/mt9v022.c
@@ -325,7 +325,7 @@ static int mt9v022_s_crop(struct v4l2_subdev *sd, struct v4l2_crop *a)
325 if (ret < 0) 325 if (ret < 0)
326 return ret; 326 return ret;
327 327
328 dev_dbg(&client->dev, "Frame %ux%u pixel\n", rect.width, rect.height); 328 dev_dbg(&client->dev, "Frame %dx%d pixel\n", rect.width, rect.height);
329 329
330 mt9v022->rect = rect; 330 mt9v022->rect = rect;
331 331