V4L/DVB: v4l2-subdev.h: Add support for enum_dv_preset
authorMats Randgaard <mats.randgaard@tandberg.com>
Wed, 5 May 2010 08:08:22 +0000 (05:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:59:01 +0000 (12:59 -0300)
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>
include/media/v4l2-subdev.h

index 6232983f02d61e36a078efd5d4ad50c78c9a182f..a88889355ae0a4bb6edb6e4fc05893eab551d029 100644 (file)
@@ -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,