From dc05ee10583dca44e0f8d4109bd1397ee3c5ffae Mon Sep 17 00:00:00 2001 From: Sakari Ailus Date: Thu, 2 Oct 2008 11:55:07 +0300 Subject: [PATCH] V4L: Int if: Add vidioc_int_querycap Signed-off-by: Sakari Ailus --- include/media/v4l2-int-device.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/include/media/v4l2-int-device.h b/include/media/v4l2-int-device.h index 81f4863..2830ae1 100644 --- a/include/media/v4l2-int-device.h +++ b/include/media/v4l2-int-device.h @@ -173,7 +173,8 @@ enum v4l2_int_ioctl_num { * "Proper" V4L ioctls, as in struct video_device. * */ - vidioc_int_enum_fmt_cap_num = 1, + vidioc_int_querycap_num = 1, + vidioc_int_enum_fmt_cap_num, vidioc_int_g_fmt_cap_num, vidioc_int_s_fmt_cap_num, vidioc_int_try_fmt_cap_num, @@ -278,6 +279,7 @@ enum v4l2_int_ioctl_num { return desc; \ } +V4L2_INT_WRAPPER_1(querycap, struct v4l2_capability, *); V4L2_INT_WRAPPER_1(enum_fmt_cap, struct v4l2_fmtdesc, *); V4L2_INT_WRAPPER_1(g_fmt_cap, struct v4l2_format, *); V4L2_INT_WRAPPER_1(s_fmt_cap, struct v4l2_format, *); -- 1.5.6.5