diff options
| author | 2019-11-04 14:09:21 +0100 | |
|---|---|---|
| committer | 2019-11-08 07:42:25 +0100 | |
| commit | 134f9e9ef202f72296f4d9a6e80e84d6efabbba7 (patch) | |
| tree | b41d8808d8eb1a4a5fb367539490e7ff6f7e9dfe /include/uapi/linux/videodev2.h | |
| parent | media: vivid: Add an area control (diff) | |
| download | linux-dev-134f9e9ef202f72296f4d9a6e80e84d6efabbba7.tar.xz linux-dev-134f9e9ef202f72296f4d9a6e80e84d6efabbba7.zip | |
media: v4l2_core: Add p_area to struct v4l2_ext_control
Allow accessing V4L2_CTRL_TYPE_AREA controls without any casting.
Signed-off-by: Ricardo Ribalda Delgado <ribalda@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'include/uapi/linux/videodev2.h')
| -rw-r--r-- | include/uapi/linux/videodev2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index f98bbcced8ff..04481c717fee 100644 --- a/include/uapi/linux/videodev2.h +++ b/include/uapi/linux/videodev2.h @@ -1684,6 +1684,7 @@ struct v4l2_ext_control { __u8 __user *p_u8; __u16 __user *p_u16; __u32 __user *p_u32; + struct v4l2_area __user *p_area; void __user *ptr; }; } __attribute__ ((packed)); |
