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-Tag: MMI-PSA29.97-13-9~29189^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4b2ce11a1e3321d31487bf58dfaaef8bb168e5af;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.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 d7a72d2d1f00..1d181b4ccb01 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 {