diff options
author | Christian König | 2018-05-28 11:47:52 +0200 |
---|---|---|
committer | Christian König | 2018-06-20 15:59:34 +0200 |
commit | a19741e5e5a9f1f02f8e3c037bde7d73d4bfae9c (patch) | |
tree | d8bb44f202176642279338f7815a251bb44d6d33 /include/drm/drm_prime.h | |
parent | 2227a7a219fdd2b925b1e861f36255efd149ff6d (diff) |
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 'include/drm/drm_prime.h')
-rw-r--r-- | include/drm/drm_prime.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_prime.h b/include/drm/drm_prime.h index 4d5f5d6cf6a6..ef338151cea8 100644 --- a/include/drm/drm_prime.h +++ b/include/drm/drm_prime.h @@ -82,7 +82,7 @@ int drm_gem_prime_fd_to_handle(struct drm_device *dev, struct dma_buf *drm_gem_dmabuf_export(struct drm_device *dev, struct dma_buf_export_info *exp_info); void drm_gem_dmabuf_release(struct dma_buf *dma_buf); -int drm_gem_map_attach(struct dma_buf *dma_buf, struct device *target_dev, +int drm_gem_map_attach(struct dma_buf *dma_buf, struct dma_buf_attachment *attach); void drm_gem_map_detach(struct dma_buf *dma_buf, struct dma_buf_attachment *attach); |