diff options
author | Qing Xu <qingx@marvell.com> | 2011-01-20 03:19:40 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-21 19:32:13 -0400 |
commit | ed5b65dc362d488958075381d97931d865e77259 (patch) | |
tree | e273587ec244a43dc99b179f16479b7b8d3d21f8 /include/media | |
parent | 03519b7e7ea531f5425be9d9bfe5f114e80951a0 (diff) |
[media] V4L: soc-camera: add enum-frame-size ioctl
add vidioc_enum_framesizes implementation, follow default_g_parm()
and g_mbus_fmt() method
Signed-off-by: Qing Xu <qingx@marvell.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/soc_camera.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/soc_camera.h b/include/media/soc_camera.h index 9386db829fb7..09b827192ae7 100644 --- a/include/media/soc_camera.h +++ b/include/media/soc_camera.h | |||
@@ -85,6 +85,7 @@ struct soc_camera_host_ops { | |||
85 | int (*set_ctrl)(struct soc_camera_device *, struct v4l2_control *); | 85 | int (*set_ctrl)(struct soc_camera_device *, struct v4l2_control *); |
86 | int (*get_parm)(struct soc_camera_device *, struct v4l2_streamparm *); | 86 | int (*get_parm)(struct soc_camera_device *, struct v4l2_streamparm *); |
87 | int (*set_parm)(struct soc_camera_device *, struct v4l2_streamparm *); | 87 | int (*set_parm)(struct soc_camera_device *, struct v4l2_streamparm *); |
88 | int (*enum_fsizes)(struct soc_camera_device *, struct v4l2_frmsizeenum *); | ||
88 | unsigned int (*poll)(struct file *, poll_table *); | 89 | unsigned int (*poll)(struct file *, poll_table *); |
89 | const struct v4l2_queryctrl *controls; | 90 | const struct v4l2_queryctrl *controls; |
90 | int num_controls; | 91 | int num_controls; |