diff options
| author | Satish Kodishala <skodisha@codeaurora.org> | 2014-05-09 11:39:06 +0530 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-12-14 17:18:18 +0100 |
| commit | c4fd5633f12890814abace672c71423eb6803e77 (patch) | |
| tree | e79a55f418d5e53b1a2585f3bc33309170feb5cb /include/uapi/linux | |
| parent | 9c7b441267e6a1b7b683838605bbcf744ffc9fb8 (diff) | |
v4l2-compat-ioctl32: Add support for private buffers
Add support for copying length and userptr fields from user
space private buffers to kernel space and vice versa.
Change-Id: Ia7d41aa312544bb0960670af58623b0dc0435a8a
Signed-off-by: Satish Kodishala <skodisha@codeaurora.org>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/videodev2.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index f40b41c7e..0a80ace94 100644 --- a/include/uapi/linux/videodev2.h +++ b/include/uapi/linux/videodev2.h @@ -155,6 +155,9 @@ enum v4l2_buf_type { || (type) == V4L2_BUF_TYPE_VBI_OUTPUT \ || (type) == V4L2_BUF_TYPE_SLICED_VBI_OUTPUT) +#define V4L2_TYPE_IS_PRIVATE(type) \ + ((type) == V4L2_BUF_TYPE_PRIVATE) + enum v4l2_tuner_type { V4L2_TUNER_RADIO = 1, V4L2_TUNER_ANALOG_TV = 2, |
