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
This commit is contained in:
Jani Nikula
2019-09-24 15:58:57 +03:00
parent e22b86e973
commit 959b077f26
4 changed files with 21 additions and 19 deletions

View File

@@ -34,6 +34,8 @@
#include <drm/drm.h>
extern unsigned int drm_debug;
/**
* DOC: print
*