diff options
author | Pawel Osciak <p.osciak@samsung.com> | 2010-03-17 03:01:04 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-17 23:50:25 -0400 |
commit | 7a02264ca9ec5409e22b9d41f32b431d08eadbce (patch) | |
tree | 4c7cd63a863c10f0fbe8d8ec7927e203e9d7577f /include/media/videobuf-vmalloc.h | |
parent | 85e092190b5f7dfe9b78556440472c5590a32b4e (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-vmalloc.h')
-rw-r--r-- | include/media/videobuf-vmalloc.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/media/videobuf-vmalloc.h b/include/media/videobuf-vmalloc.h index 4b419a257a7d..851eb1a2ff2a 100644 --- a/include/media/videobuf-vmalloc.h +++ b/include/media/videobuf-vmalloc.h | |||
@@ -19,17 +19,17 @@ | |||
19 | 19 | ||
20 | /* --------------------------------------------------------------------- */ | 20 | /* --------------------------------------------------------------------- */ |
21 | 21 | ||
22 | struct videobuf_vmalloc_memory | 22 | struct videobuf_vmalloc_memory { |
23 | { | ||
24 | u32 magic; | 23 | u32 magic; |
25 | 24 | ||
26 | void *vmalloc; | 25 | void *vmalloc; |
27 | 26 | ||
28 | /* remap_vmalloc_range seems to need to run after mmap() on some cases */ | 27 | /* remap_vmalloc_range seems to need to run |
28 | * after mmap() on some cases */ | ||
29 | struct vm_area_struct *vma; | 29 | struct vm_area_struct *vma; |
30 | }; | 30 | }; |
31 | 31 | ||
32 | void videobuf_queue_vmalloc_init(struct videobuf_queue* q, | 32 | void videobuf_queue_vmalloc_init(struct videobuf_queue *q, |
33 | const struct videobuf_queue_ops *ops, | 33 | const struct videobuf_queue_ops *ops, |
34 | struct device *dev, | 34 | struct device *dev, |
35 | spinlock_t *irqlock, | 35 | spinlock_t *irqlock, |
@@ -38,8 +38,8 @@ void videobuf_queue_vmalloc_init(struct videobuf_queue* q, | |||
38 | unsigned int msize, | 38 | unsigned int msize, |
39 | void *priv); | 39 | void *priv); |
40 | 40 | ||
41 | void *videobuf_to_vmalloc (struct videobuf_buffer *buf); | 41 | void *videobuf_to_vmalloc(struct videobuf_buffer *buf); |
42 | 42 | ||
43 | void videobuf_vmalloc_free (struct videobuf_buffer *buf); | 43 | void videobuf_vmalloc_free(struct videobuf_buffer *buf); |
44 | 44 | ||
45 | #endif | 45 | #endif |