diff options
author | Brandon Philips <brandon@ifup.org> | 2007-11-07 02:23:08 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-26 00:02:11 +0300 |
commit | d6964aa8d4a418d69da1652121940fabc6b5d591 (patch) | |
tree | c01e56513d2b32c5f7fd2359b975266c10d80a1e /include | |
parent | 0fc0686e64d21a6abded96af2b1a895dfa8b2530 (diff) | |
download | linux-d6964aa8d4a418d69da1652121940fabc6b5d591.tar.xz |
V4L/DVB (6603): V4L: videobuf: convert streaming and reading to bitfields
Signed-off-by: Brandon Philips <bphilips@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/media/videobuf-core.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/media/videobuf-core.h b/include/media/videobuf-core.h index 567dfe22c07f..7aa7a7b64c1b 100644 --- a/include/media/videobuf-core.h +++ b/include/media/videobuf-core.h @@ -162,12 +162,12 @@ struct videobuf_queue { struct videobuf_queue_ops *ops; struct videobuf_qtype_ops *int_ops; + unsigned int streaming:1; + unsigned int reading:1; /* capture via mmap() + ioctl(QBUF/DQBUF) */ - unsigned int streaming; struct list_head stream; /* capture via read() */ - unsigned int reading; unsigned int read_off; struct videobuf_buffer *read_buf; |