V4L/DVB: v4l videobuf: use struct videobuf_buffer * instead of void * for videobuf_alloc
[pandora-kernel.git] / drivers / media / video / videobuf-vmalloc.c
index 43c9288..000a60f 100644 (file)
@@ -135,7 +135,7 @@ static const struct vm_operations_struct videobuf_vm_ops = {
        struct videobuf_dma_sg_memory
  */
 
-static void *__videobuf_alloc(size_t size)
+static struct videobuf_buffer *__videobuf_alloc(size_t size)
 {
        struct videobuf_vmalloc_memory *mem;
        struct videobuf_buffer *vb;