From: Laurent Pinchart Date: Wed, 13 Mar 2019 10:29:05 +0000 (+0200) Subject: drm: Forward-declare struct drm_format_info in drm_framebuffer.h X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2471e7a534b7c7b42803b175d2fcc2b9dca600c3;p=linux.git drm: Forward-declare struct drm_format_info in drm_framebuffer.h drm_framebuffer.h makes use of a pointer to struct drm_format_info but doesn't include drm_fourcc.h (neither directly nor indirectly). Forward-declare the structure. Signed-off-by: Laurent Pinchart Reviewed-by: Jani Nikula Reviewed-by: Sam Ravnborg --- diff --git a/include/drm/drm_framebuffer.h b/include/drm/drm_framebuffer.h index f0b34c977ec57..c23016748e3fc 100644 --- a/include/drm/drm_framebuffer.h +++ b/include/drm/drm_framebuffer.h @@ -32,6 +32,7 @@ struct drm_clip_rect; struct drm_device; struct drm_file; +struct drm_format_info; struct drm_framebuffer; struct drm_gem_object;