diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2010-07-12 16:09:41 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-22 00:32:41 +0100 |
commit | fc0a80798576f80ca10b3f6c9c7097f12fd1d64e (patch) | |
tree | 561546ada442b0fb9df166723d601b1587d3f6b0 /include/media/v4l2-subdev.h | |
parent | [media] v4l: videobuf2: Typo fix (diff) | |
download | linux-fc0a80798576f80ca10b3f6c9c7097f12fd1d64e.tar.xz linux-fc0a80798576f80ca10b3f6c9c7097f12fd1d64e.zip |
[media] v4l: Share code between video_usercopy and video_ioctl2
The two functions are mostly identical. They handle the copy_from_user
and copy_to_user operations related with V4L2 ioctls and call the real
ioctl handler.
Create a __video_usercopy function that implements the core of
video_usercopy and video_ioctl2, and call that function from both.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions