summaryrefslogtreecommitdiff
path: root/include/drm/drm_print.h
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2019-09-24 15:58:57 +0300
committerJani Nikula <jani.nikula@intel.com>2019-10-02 16:28:24 +0300
commit959b077f26a16c663816f116af8063a170233a07 (patch)
tree9c8408b1772ad3cd06b1c44828c0af44941544e4 /include/drm/drm_print.h
parente22b86e97317cff590e3b0775fc2c842c1bff098 (diff)
downloadlinux-959b077f26a16c663816f116af8063a170233a07.tar.xz
drm/print: move drm_debug variable to drm_print.[ch]
Move drm_debug variable declaration and definition to where they are relevant and needed. No functional changes. Acked-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Eric Engestrom <eric@engestrom.ch> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/71a566c68883b6e6c61414cd9f7c36c84015edb1.1569329774.git.jani.nikula@intel.com
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 89d38d07316c..fc9f218ab715 100644
--- a/include/drm/drm_print.h
+++ b/include/drm/drm_print.h
@@ -34,6 +34,8 @@
#include <drm/drm.h>
+extern unsigned int drm_debug;
+
/**
* DOC: print
*