summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2019-05-26 19:35:34 +0200
committerSam Ravnborg <sam@ravnborg.org>2019-05-27 18:06:54 +0200
commit34112deddb43c37812f2a8836555754099efb9f2 (patch)
treebf2e1ae11e67af6bd080eeb551967fd4d3d6cb39 /drivers/gpu/drm
parentdrm: make drm_legacy.h self-contained (diff)
downloadlinux-34112deddb43c37812f2a8836555754099efb9f2.tar.xz
linux-34112deddb43c37812f2a8836555754099efb9f2.zip
drm: make drm_trace.h self-contained
Do not require users of drm_trace.h to include other files just to let it build Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Acked-by: Daniel Vetter <daniel@ffwll.ch> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Cc: Maxime Ripard <maxime.ripard@bootlin.com> Cc: Sean Paul <sean@poorly.run> Cc: David Airlie <airlied@linux.ie> Link: https://patchwork.freedesktop.org/patch/msgid/20190526173535.32701-7-sam@ravnborg.org
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/drm_trace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_trace.h b/drivers/gpu/drm/drm_trace.h
index baccc63db106..471eb927474b 100644
--- a/drivers/gpu/drm/drm_trace.h
+++ b/drivers/gpu/drm/drm_trace.h
@@ -6,6 +6,8 @@
#include <linux/types.h>
#include <linux/tracepoint.h>
+struct drm_file;
+
#undef TRACE_SYSTEM
#define TRACE_SYSTEM drm
#define TRACE_INCLUDE_FILE drm_trace