diff options
author | Christian König <christian.koenig@amd.com> | 2018-05-28 11:47:52 +0200 |
---|---|---|
committer | Christian König <easy2remember.chk@googlemail.com> | 2018-06-20 15:59:34 +0200 |
commit | a19741e5e5a9f1f02f8e3c037bde7d73d4bfae9c (patch) | |
tree | d8bb44f202176642279338f7815a251bb44d6d33 /drivers/media/common/videobuf2/videobuf2-dma-contig.c | |
parent | drm/vc4: Always obey implicit sync (diff) | |
download | wireguard-linux-a19741e5e5a9f1f02f8e3c037bde7d73d4bfae9c.tar.xz wireguard-linux-a19741e5e5a9f1f02f8e3c037bde7d73d4bfae9c.zip |
dma_buf: remove device parameter from attach callback v2
The device parameter is completely unused because it is available in the
attachment structure as well.
v2: fix kerneldoc as well
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/226643/
Diffstat (limited to 'drivers/media/common/videobuf2/videobuf2-dma-contig.c')
-rw-r--r-- | drivers/media/common/videobuf2/videobuf2-dma-contig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/common/videobuf2/videobuf2-dma-contig.c b/drivers/media/common/videobuf2/videobuf2-dma-contig.c index f1178f6f434d..12d0072c52c2 100644 --- a/drivers/media/common/videobuf2/videobuf2-dma-contig.c +++ b/drivers/media/common/videobuf2/videobuf2-dma-contig.c @@ -222,7 +222,7 @@ struct vb2_dc_attachment { enum dma_data_direction dma_dir; }; -static int vb2_dc_dmabuf_ops_attach(struct dma_buf *dbuf, struct device *dev, +static int vb2_dc_dmabuf_ops_attach(struct dma_buf *dbuf, struct dma_buf_attachment *dbuf_attach) { struct vb2_dc_attachment *attach; |