diff options
Diffstat (limited to 'drivers/media/video/videobuf-core.c')
-rw-r--r-- | drivers/media/video/videobuf-core.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/video/videobuf-core.c b/drivers/media/video/videobuf-core.c index fc51e4918bbf..982f4463896c 100644 --- a/drivers/media/video/videobuf-core.c +++ b/drivers/media/video/videobuf-core.c | |||
@@ -97,7 +97,10 @@ int videobuf_iolock(struct videobuf_queue *q, struct videobuf_buffer *vb, | |||
97 | void *videobuf_queue_to_vmalloc (struct videobuf_queue *q, | 97 | void *videobuf_queue_to_vmalloc (struct videobuf_queue *q, |
98 | struct videobuf_buffer *buf) | 98 | struct videobuf_buffer *buf) |
99 | { | 99 | { |
100 | return CALL(q, vmalloc, buf); | 100 | if (q->int_ops->vmalloc) |
101 | return q->int_ops->vmalloc(buf); | ||
102 | else | ||
103 | return NULL; | ||
101 | } | 104 | } |
102 | EXPORT_SYMBOL_GPL(videobuf_queue_to_vmalloc); | 105 | EXPORT_SYMBOL_GPL(videobuf_queue_to_vmalloc); |
103 | 106 | ||