summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_prime.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2018-01-11 21:17:30 +0100
committerThierry Reding <treding@nvidia.com>2019-09-16 17:32:51 +0200
commit37d212622acbccf0bb281f6e223c497f499b1575 (patch)
tree4a8e32fec34e66de307ccf751ef9b44ff0f2e332 /include/drm/drm_prime.h
parentdrm: fix warnings in DSC (diff)
downloadlinux-37d212622acbccf0bb281f6e223c497f499b1575.tar.xz
linux-37d212622acbccf0bb281f6e223c497f499b1575.zip
drm/prime: Remove duplicate forward declaration
struct device is forward-declared twice. Remove the second instance. Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180111201730.30708-1-thierry.reding@gmail.com
Diffstat (limited to 'include/drm/drm_prime.h')
-rw-r--r--include/drm/drm_prime.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/drm/drm_prime.h b/include/drm/drm_prime.h
index d89311b822d5..9af7422b44cf 100644
--- a/include/drm/drm_prime.h
+++ b/include/drm/drm_prime.h
@@ -61,8 +61,6 @@ struct drm_device;
struct drm_gem_object;
struct drm_file;
-struct device;
-
/* core prime functions */
struct dma_buf *drm_gem_dmabuf_export(struct drm_device *dev,
struct dma_buf_export_info *exp_info);