aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/videobuf-core.h
diff options
context:
space:
mode:
authorPawel Osciak <p.osciak@samsung.com>2010-03-17 03:01:04 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-17 23:50:25 -0400
commit7a02264ca9ec5409e22b9d41f32b431d08eadbce (patch)
tree4c7cd63a863c10f0fbe8d8ec7927e203e9d7577f /include/media/videobuf-core.h
parent85e092190b5f7dfe9b78556440472c5590a32b4e (diff)
V4L/DVB: v4l: videobuf: code cleanup
Make videobuf pass checkpatch; minor code cleanups. Signed-off-by: Pawel Osciak <p.osciak@samsung.com> Reviewed-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/videobuf-core.h')
-rw-r--r--include/media/videobuf-core.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/media/videobuf-core.h b/include/media/videobuf-core.h
index 316fdccdcaa0..b1f7bf423fd3 100644
--- a/include/media/videobuf-core.h
+++ b/include/media/videobuf-core.h
@@ -129,14 +129,14 @@ struct videobuf_qtype_ops {
129 129
130 void *(*alloc) (size_t size); 130 void *(*alloc) (size_t size);
131 void *(*vmalloc) (struct videobuf_buffer *buf); 131 void *(*vmalloc) (struct videobuf_buffer *buf);
132 int (*iolock) (struct videobuf_queue* q, 132 int (*iolock) (struct videobuf_queue *q,
133 struct videobuf_buffer *vb, 133 struct videobuf_buffer *vb,
134 struct v4l2_framebuffer *fbuf); 134 struct v4l2_framebuffer *fbuf);
135 int (*mmap) (struct videobuf_queue *q, 135 int (*mmap) (struct videobuf_queue *q,
136 unsigned int *count, 136 unsigned int *count,
137 unsigned int *size, 137 unsigned int *size,
138 enum v4l2_memory memory); 138 enum v4l2_memory memory);
139 int (*sync) (struct videobuf_queue* q, 139 int (*sync) (struct videobuf_queue *q,
140 struct videobuf_buffer *buf); 140 struct videobuf_buffer *buf);
141 int (*video_copy_to_user)(struct videobuf_queue *q, 141 int (*video_copy_to_user)(struct videobuf_queue *q,
142 char __user *data, 142 char __user *data,
@@ -185,14 +185,14 @@ struct videobuf_queue {
185}; 185};
186 186
187int videobuf_waiton(struct videobuf_buffer *vb, int non_blocking, int intr); 187int videobuf_waiton(struct videobuf_buffer *vb, int non_blocking, int intr);
188int videobuf_iolock(struct videobuf_queue* q, struct videobuf_buffer *vb, 188int videobuf_iolock(struct videobuf_queue *q, struct videobuf_buffer *vb,
189 struct v4l2_framebuffer *fbuf); 189 struct v4l2_framebuffer *fbuf);
190 190
191void *videobuf_alloc(struct videobuf_queue* q); 191void *videobuf_alloc(struct videobuf_queue* q);
192 192
193/* Used on videobuf-dvb */ 193/* Used on videobuf-dvb */
194void *videobuf_queue_to_vmalloc (struct videobuf_queue* q, 194void *videobuf_queue_to_vmalloc(struct videobuf_queue *q,
195 struct videobuf_buffer *buf); 195 struct videobuf_buffer *buf);
196 196
197void videobuf_queue_core_init(struct videobuf_queue *q, 197void videobuf_queue_core_init(struct videobuf_queue *q,
198 const struct videobuf_queue_ops *ops, 198 const struct videobuf_queue_ops *ops,