diff mbox series

[v3,4/5] media: v4l2_core: Add p_area to struct v4l2_ext_control

Message ID 20191101112358.29538-4-ribalda@kernel.org (mailing list archive)
State New, archived
Headers show
Series [v3,1/5] media: v4l2_ctrl: Add p_def to v4l2_ctrl_config | expand

Commit Message

Ricardo Ribalda Delgado Nov. 1, 2019, 11:23 a.m. UTC
Allow accessing V4L2_CTRL_TYPE_AREA controls without any casting.

Signed-off-by: Ricardo Ribalda Delgado <ribalda@kernel.org>
---
 include/uapi/linux/videodev2.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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));