diff options
Diffstat (limited to 'include/media/videobuf2-core.h')
| -rw-r--r-- | include/media/videobuf2-core.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/media/videobuf2-core.h b/include/media/videobuf2-core.h index d607871749c7..bd2cec2d6c3d 100644 --- a/include/media/videobuf2-core.h +++ b/include/media/videobuf2-core.h | |||
| @@ -82,7 +82,9 @@ struct vb2_threadio_data; | |||
| 82 | * unmap_dmabuf. | 82 | * unmap_dmabuf. |
| 83 | */ | 83 | */ |
| 84 | struct vb2_mem_ops { | 84 | struct vb2_mem_ops { |
| 85 | void *(*alloc)(void *alloc_ctx, unsigned long size, gfp_t gfp_flags); | 85 | void *(*alloc)(void *alloc_ctx, unsigned long size, |
| 86 | enum dma_data_direction dma_dir, | ||
| 87 | gfp_t gfp_flags); | ||
| 86 | void (*put)(void *buf_priv); | 88 | void (*put)(void *buf_priv); |
| 87 | struct dma_buf *(*get_dmabuf)(void *buf_priv, unsigned long flags); | 89 | struct dma_buf *(*get_dmabuf)(void *buf_priv, unsigned long flags); |
| 88 | 90 | ||
