From: Hans Verkuil Date: Sun, 29 Mar 2009 22:23:16 +0000 (-0300) Subject: V4L/DVB (11313): v4l2-subdev: add enum_framesizes and enum_frameintervals. X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=4b2ce11a1e3321d31487bf58dfaaef8bb168e5af;p=linux-2.6-omap-h63xx.git V4L/DVB (11313): v4l2-subdev: add enum_framesizes and enum_frameintervals. These callbacks are needed for omap. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h index d7a72d2d1f0..1d181b4ccb0 100644 --- a/include/media/v4l2-subdev.h +++ b/include/media/v4l2-subdev.h @@ -124,6 +124,8 @@ struct v4l2_subdev_video_ops { int (*s_fmt)(struct v4l2_subdev *sd, struct v4l2_format *fmt); int (*g_parm)(struct v4l2_subdev *sd, struct v4l2_streamparm *param); 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); }; struct v4l2_subdev_ops {