diff options
author | Sakari Ailus <sakari.ailus@iki.fi> | 2012-05-02 08:40:03 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-07-05 17:00:32 -0400 |
commit | 2b719d7baf490e24ce7d817c6337b7c87fda84c1 (patch) | |
tree | 72059aea0fc81e45fdc0eb9b7c41e81a5ad31c36 /include/linux/videodev2.h | |
parent | 5cf73ce15f704876378733794864336fbec6c97e (diff) |
[media] v4l: drop v4l2_buffer.input and V4L2_BUF_FLAG_INPUT
Remove input field in struct v4l2_buffer and flag V4L2_BUF_FLAG_INPUT which
tells the former is valid. The flag is used by no driver currently.
Also change the documentation accordingly.
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/linux/videodev2.h')
-rw-r--r-- | include/linux/videodev2.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index f79d0cc565ab..a61edb353273 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h | |||
@@ -657,7 +657,7 @@ struct v4l2_buffer { | |||
657 | struct v4l2_plane *planes; | 657 | struct v4l2_plane *planes; |
658 | } m; | 658 | } m; |
659 | __u32 length; | 659 | __u32 length; |
660 | __u32 input; | 660 | __u32 reserved2; |
661 | __u32 reserved; | 661 | __u32 reserved; |
662 | }; | 662 | }; |
663 | 663 | ||
@@ -671,7 +671,6 @@ struct v4l2_buffer { | |||
671 | /* Buffer is ready, but the data contained within is corrupted. */ | 671 | /* Buffer is ready, but the data contained within is corrupted. */ |
672 | #define V4L2_BUF_FLAG_ERROR 0x0040 | 672 | #define V4L2_BUF_FLAG_ERROR 0x0040 |
673 | #define V4L2_BUF_FLAG_TIMECODE 0x0100 /* timecode field is valid */ | 673 | #define V4L2_BUF_FLAG_TIMECODE 0x0100 /* timecode field is valid */ |
674 | #define V4L2_BUF_FLAG_INPUT 0x0200 /* input field is valid */ | ||
675 | #define V4L2_BUF_FLAG_PREPARED 0x0400 /* Buffer is prepared for queuing */ | 674 | #define V4L2_BUF_FLAG_PREPARED 0x0400 /* Buffer is prepared for queuing */ |
676 | /* Cache handling flags */ | 675 | /* Cache handling flags */ |
677 | #define V4L2_BUF_FLAG_NO_CACHE_INVALIDATE 0x0800 | 676 | #define V4L2_BUF_FLAG_NO_CACHE_INVALIDATE 0x0800 |