summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMats Randgaard <mats.randgaard@tandberg.com>2010-05-05 10:08:22 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 17:59:01 +0200
commit6003b5c7e6dd60b18e48d8cef513228fadaabf7a (patch)
tree20cf8536a5fc224c0fbdf6dc881f72e14d20f002
parentV4L/DVB: gspca - sn9c20x: Fix non working mt9v111 sensor (diff)
downloadlinux-6003b5c7e6dd60b18e48d8cef513228fadaabf7a.tar.xz
linux-6003b5c7e6dd60b18e48d8cef513228fadaabf7a.zip
V4L/DVB: v4l2-subdev.h: Add support for enum_dv_preset
The op enum_dv_preset was missing in this header but is needed by subdev drivers with DV functionality. Signed-off-by: Mats Randgaard <mats.randgaard@tandberg.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--include/media/v4l2-subdev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h
index 6232983f02d6..a88889355ae0 100644
--- a/include/media/v4l2-subdev.h
+++ b/include/media/v4l2-subdev.h
@@ -236,6 +236,8 @@ struct v4l2_subdev_video_ops {
int (*s_parm)(struct v4l2_subdev *sd, struct v4l2_streamparm *param);
int (*enum_framesizes)(struct v4l2_subdev *sd, struct v4l2_frmsizeenum *fsize);
int (*enum_frameintervals)(struct v4l2_subdev *sd, struct v4l2_frmivalenum *fival);
+ int (*enum_dv_presets) (struct v4l2_subdev *sd,
+ struct v4l2_dv_enum_preset *preset);
int (*s_dv_preset)(struct v4l2_subdev *sd,
struct v4l2_dv_preset *preset);
int (*query_dv_preset)(struct v4l2_subdev *sd,