From 06013a66758e7c8e83dba4f81a92682c53a93d41 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Thu, 21 Oct 2010 16:37:07 +0200 Subject: 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 --- subdev.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'subdev.h') 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 -- cgit v1.2.3