summaryrefslogtreecommitdiff
path: root/subdev.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2010-10-21 16:37:07 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2010-10-21 16:37:07 +0200
commit06013a66758e7c8e83dba4f81a92682c53a93d41 (patch)
tree0ca61c7c60d0ecb110907dd5fcb064eedf0be4f7 /subdev.h
parent33429a037a687d6a2786edfbf6d5093bfec0b987 (diff)
Update to the latest media kernel API
The media kernel API has seen many changes during the review process, update the media-ctl application accordingly. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'subdev.h')
-rw-r--r--subdev.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/subdev.h b/subdev.h
index 467bbcc..f529794 100644
--- a/subdev.h
+++ b/subdev.h
@@ -30,19 +30,19 @@ enum v4l2_mbus_pixelcode string_to_pixelcode(const char *string,
int v4l2_subdev_get_format(struct media_entity *entity,
struct v4l2_mbus_framefmt *format, unsigned int pad,
- enum v4l2_subdev_format which);
+ enum v4l2_subdev_format_whence which);
int v4l2_subdev_set_format(struct media_entity *entity,
struct v4l2_mbus_framefmt *format, unsigned int pad,
- enum v4l2_subdev_format which);
+ enum v4l2_subdev_format_whence which);
int v4l2_subdev_get_crop(struct media_entity *entity, struct v4l2_rect *rect,
- unsigned int pad, enum v4l2_subdev_format which);
+ unsigned int pad, enum v4l2_subdev_format_whence which);
int v4l2_subdev_set_crop(struct media_entity *entity, struct v4l2_rect *rect,
- unsigned int pad, enum v4l2_subdev_format which);
+ unsigned int pad, enum v4l2_subdev_format_whence which);
int v4l2_subdev_set_frame_interval(struct media_entity *entity,
struct v4l2_fract *interval);
void v4l2_subdev_print_format(struct media_entity *entity,
- unsigned int pad, enum v4l2_subdev_format which);
+ unsigned int pad, enum v4l2_subdev_format_whence which);
#endif