Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

+2
+2
drivers/gpu/drm/drm_trace.h
··· 6 6 #include <linux/types.h> 7 7 #include <linux/tracepoint.h> 8 8 9 + struct drm_file; 10 + 9 11 #undef TRACE_SYSTEM 10 12 #define TRACE_SYSTEM drm 11 13 #define TRACE_INCLUDE_FILE drm_trace