projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fc0686
)
V4L/DVB (6603): V4L: videobuf: convert streaming and reading to bitfields
author
Brandon Philips
<brandon@ifup.org>
Tue, 6 Nov 2007 23:23:08 +0000
(20:23 -0300)
committer
Mauro Carvalho Chehab
<mchehab@infradead.org>
Fri, 25 Jan 2008 21:02:11 +0000
(19:02 -0200)
Signed-off-by: Brandon Philips <bphilips@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
include/media/videobuf-core.h
patch
|
blob
|
history
diff --git
a/include/media/videobuf-core.h
b/include/media/videobuf-core.h
index
567dfe2
..
7aa7a7b
100644
(file)
--- 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;