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
This commit is contained in:
Sam Ravnborg 2019-05-26 19:35:34 +02:00
parent b8d1148892
commit 34112deddb
1 changed files with 2 additions and 0 deletions

View File

@ -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