]> err.no Git - linux-2.6/blobdiff - drivers/media/video/videobuf-core.c
V4L/DVB (7858): video: build fix for drivers/media/video/mt9v022.c
[linux-2.6] / drivers / media / video / videobuf-core.c
index 848a2d0e1233908c051d87a9338e29c3835563fd..982f4463896c68ed74361dacc3c57918a9fb1212 100644 (file)
@@ -94,6 +94,16 @@ int videobuf_iolock(struct videobuf_queue *q, struct videobuf_buffer *vb,
        return CALL(q, iolock, q, vb, fbuf);
 }
 
+void *videobuf_queue_to_vmalloc (struct videobuf_queue *q,
+                          struct videobuf_buffer *buf)
+{
+       if (q->int_ops->vmalloc)
+               return q->int_ops->vmalloc(buf);
+       else
+               return NULL;
+}
+EXPORT_SYMBOL_GPL(videobuf_queue_to_vmalloc);
+
 /* --------------------------------------------------------------------- */