aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBrandon Philips <brandon@ifup.org>2007-11-06 18:23:08 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:02:11 -0500
commitd6964aa8d4a418d69da1652121940fabc6b5d591 (patch)
treec01e56513d2b32c5f7fd2359b975266c10d80a1e /include
parent0fc0686e64d21a6abded96af2b1a895dfa8b2530 (diff)
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.h4
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 {
162 struct videobuf_queue_ops *ops; 162 struct videobuf_queue_ops *ops;
163 struct videobuf_qtype_ops *int_ops; 163 struct videobuf_qtype_ops *int_ops;
164 164
165 unsigned int streaming:1;
166 unsigned int reading:1;
165 /* capture via mmap() + ioctl(QBUF/DQBUF) */ 167 /* capture via mmap() + ioctl(QBUF/DQBUF) */
166 unsigned int streaming;
167 struct list_head stream; 168 struct list_head stream;
168 169
169 /* capture via read() */ 170 /* capture via read() */
170 unsigned int reading;
171 unsigned int read_off; 171 unsigned int read_off;
172 struct videobuf_buffer *read_buf; 172 struct videobuf_buffer *read_buf;
173 173