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>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
85e092190b
commit
7a02264ca9
@ -19,17 +19,17 @@
|
||||
|
||||
/* --------------------------------------------------------------------- */
|
||||
|
||||
struct videobuf_vmalloc_memory
|
||||
{
|
||||
struct videobuf_vmalloc_memory {
|
||||
u32 magic;
|
||||
|
||||
void *vmalloc;
|
||||
|
||||
/* remap_vmalloc_range seems to need to run after mmap() on some cases */
|
||||
/* remap_vmalloc_range seems to need to run
|
||||
* after mmap() on some cases */
|
||||
struct vm_area_struct *vma;
|
||||
};
|
||||
|
||||
void videobuf_queue_vmalloc_init(struct videobuf_queue* q,
|
||||
void videobuf_queue_vmalloc_init(struct videobuf_queue *q,
|
||||
const struct videobuf_queue_ops *ops,
|
||||
struct device *dev,
|
||||
spinlock_t *irqlock,
|
||||
@ -38,8 +38,8 @@ void videobuf_queue_vmalloc_init(struct videobuf_queue* q,
|
||||
unsigned int msize,
|
||||
void *priv);
|
||||
|
||||
void *videobuf_to_vmalloc (struct videobuf_buffer *buf);
|
||||
void *videobuf_to_vmalloc(struct videobuf_buffer *buf);
|
||||
|
||||
void videobuf_vmalloc_free (struct videobuf_buffer *buf);
|
||||
void videobuf_vmalloc_free(struct videobuf_buffer *buf);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user