projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
483b221
)
media: v4l2_core: Add p_area to struct v4l2_ext_control
author
Ricardo Ribalda Delgado
<ribalda@kernel.org>
Mon, 4 Nov 2019 13:09:21 +0000
(14:09 +0100)
committer
Mauro Carvalho Chehab
<mchehab@kernel.org>
Fri, 8 Nov 2019 06:42:25 +0000
(07:42 +0100)
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>
include/uapi/linux/videodev2.h
patch
|
blob
|
history
diff --git
a/include/uapi/linux/videodev2.h
b/include/uapi/linux/videodev2.h
index f98bbcced8ff54c1776f04dfa115a22f991b9d6f..04481c717fee75c41691fc73f87cb0b21d6fd7b7 100644
(file)
--- 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));