summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2019-03-13 13:29:05 +0300
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2019-03-28 07:06:33 +0300
commit2471e7a534b7c7b42803b175d2fcc2b9dca600c3 (patch)
tree99bb2d169e9e6c4a0187bb75a922bfeed3a76790 /include
parentb1fed71c4a559c7cb191e2cf4942c541e77f049f (diff)
downloadlinux-2471e7a534b7c7b42803b175d2fcc2b9dca600c3.tar.xz
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 <laurent.pinchart+renesas@ideasonboard.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'include')
-rw-r--r--include/drm/drm_framebuffer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drm_framebuffer.h b/include/drm/drm_framebuffer.h
index f0b34c977ec5..c23016748e3f 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;