summaryrefslogtreecommitdiffstats
path: root/include/media/soc_camera.h
diff options
context:
space:
mode:
authorQing Xu <qingx@marvell.com>2011-01-20 09:19:40 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-22 00:32:13 +0100
commited5b65dc362d488958075381d97931d865e77259 (patch)
treee273587ec244a43dc99b179f16479b7b8d3d21f8 /include/media/soc_camera.h
parent[media] V4L: add enum_mbus_fsizes video operation (diff)
downloadlinux-ed5b65dc362d488958075381d97931d865e77259.tar.xz
linux-ed5b65dc362d488958075381d97931d865e77259.zip
[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/soc_camera.h')
-rw-r--r--include/media/soc_camera.h1
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 {
int (*set_ctrl)(struct soc_camera_device *, struct v4l2_control *);
int (*get_parm)(struct soc_camera_device *, struct v4l2_streamparm *);
int (*set_parm)(struct soc_camera_device *, struct v4l2_streamparm *);
+ int (*enum_fsizes)(struct soc_camera_device *, struct v4l2_frmsizeenum *);
unsigned int (*poll)(struct file *, poll_table *);
const struct v4l2_queryctrl *controls;
int num_controls;