From: Thierry Reding Date: Thu, 11 Jan 2018 20:17:30 +0000 (+0100) Subject: drm/prime: Remove duplicate forward declaration X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=37d212622acbccf0bb281f6e223c497f499b1575;p=linux.git drm/prime: Remove duplicate forward declaration struct device is forward-declared twice. Remove the second instance. Reviewed-by: Chris Wilson Reviewed-by: Christian König Signed-off-by: Thierry Reding Link: https://patchwork.freedesktop.org/patch/msgid/20180111201730.30708-1-thierry.reding@gmail.com --- diff --git a/include/drm/drm_prime.h b/include/drm/drm_prime.h index d89311b822d50..9af7422b44cf0 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);