diff options
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/v4l2-subdev.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h index d4d3653426a9..4215650151be 100644 --- a/include/media/v4l2-subdev.h +++ b/include/media/v4l2-subdev.h | |||
@@ -21,6 +21,7 @@ | |||
21 | #ifndef _V4L2_SUBDEV_H | 21 | #ifndef _V4L2_SUBDEV_H |
22 | #define _V4L2_SUBDEV_H | 22 | #define _V4L2_SUBDEV_H |
23 | 23 | ||
24 | #include <linux/v4l2-subdev.h> | ||
24 | #include <media/media-entity.h> | 25 | #include <media/media-entity.h> |
25 | #include <media/v4l2-common.h> | 26 | #include <media/v4l2-common.h> |
26 | #include <media/v4l2-dev.h> | 27 | #include <media/v4l2-dev.h> |
@@ -414,6 +415,15 @@ struct v4l2_subdev_ir_ops { | |||
414 | }; | 415 | }; |
415 | 416 | ||
416 | struct v4l2_subdev_pad_ops { | 417 | struct v4l2_subdev_pad_ops { |
418 | int (*enum_mbus_code)(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh, | ||
419 | struct v4l2_subdev_mbus_code_enum *code); | ||
420 | int (*enum_frame_size)(struct v4l2_subdev *sd, | ||
421 | struct v4l2_subdev_fh *fh, | ||
422 | struct v4l2_subdev_frame_size_enum *fse); | ||
423 | int (*get_fmt)(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh, | ||
424 | struct v4l2_subdev_format *format); | ||
425 | int (*set_fmt)(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh, | ||
426 | struct v4l2_subdev_format *format); | ||
417 | }; | 427 | }; |
418 | 428 | ||
419 | struct v4l2_subdev_ops { | 429 | struct v4l2_subdev_ops { |