summaryrefslogtreecommitdiff
path: root/include/drm/drm_print.h
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2019-06-10 01:07:48 +0300
committerSam Ravnborg <sam@ravnborg.org>2019-06-10 23:58:53 +0300
commit656600efd67b9b185bc1c85ec68d9420c2bbb812 (patch)
tree42f58a2ba1092ab9d7032dfa782d0d560f1b6967 /include/drm/drm_print.h
parentc182615f3ea31eb4df6133beb0d62d8ff7b83e08 (diff)
downloadlinux-656600efd67b9b185bc1c85ec68d9420c2bbb812.tar.xz
drm: fix build errors with drm_print.h
drm_print.h requires <drm/drm.h> to fix build when macros are used. Pull in the header file in drm_print.h so users do not have to do it. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> 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> Cc: Daniel Vetter <daniel@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20190609220757.10862-2-sam@ravnborg.org
Diffstat (limited to 'include/drm/drm_print.h')
-rw-r--r--include/drm/drm_print.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/drm_print.h b/include/drm/drm_print.h
index 3a4247319e63..a5d6f2f3e430 100644
--- a/include/drm/drm_print.h
+++ b/include/drm/drm_print.h
@@ -32,6 +32,8 @@
#include <linux/device.h>
#include <linux/debugfs.h>
+#include <drm/drm.h>
+
/**
* DOC: print
*