diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2009-08-25 10:46:17 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-18 23:18:43 -0400 |
commit | a0705b07f1816ae2b85388fcda71de69c221b4b8 (patch) | |
tree | 7406da18408564e38645eeaa22ea49324fd1ca6a /drivers/media/video/ov772x.c | |
parent | 4a6110bc50da9a1883bf45614ac1d591253f0457 (diff) |
V4L/DVB (12515): soc-camera: use struct v4l2_rect in struct soc_camera_device
Switch to using struct v4l2_rect in struct soc_camera_device for uniformity and
simplicity.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/ov772x.c')
-rw-r--r-- | drivers/media/video/ov772x.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/ov772x.c b/drivers/media/video/ov772x.c index 4c550f91ca24..3417398e1b50 100644 --- a/drivers/media/video/ov772x.c +++ b/drivers/media/video/ov772x.c | |||
@@ -1120,9 +1120,9 @@ static int ov772x_probe(struct i2c_client *client, | |||
1120 | 1120 | ||
1121 | v4l2_i2c_subdev_init(&priv->subdev, client, &ov772x_subdev_ops); | 1121 | v4l2_i2c_subdev_init(&priv->subdev, client, &ov772x_subdev_ops); |
1122 | 1122 | ||
1123 | icd->ops = &ov772x_ops; | 1123 | icd->ops = &ov772x_ops; |
1124 | icd->width_max = MAX_WIDTH; | 1124 | icd->rect_max.width = MAX_WIDTH; |
1125 | icd->height_max = MAX_HEIGHT; | 1125 | icd->rect_max.height = MAX_HEIGHT; |
1126 | 1126 | ||
1127 | ret = ov772x_video_probe(icd, client); | 1127 | ret = ov772x_video_probe(icd, client); |
1128 | if (ret) { | 1128 | if (ret) { |