Commit 539489fc authored by Aurabindo Pillai's avatar Aurabindo Pillai Committed by Alex Deucher

drm/amd/amdgpu: add print prefix for dev_* variants

Define dev_fmt macro for informative print messages
Signed-off-by: default avatarAurabindo Pillai <mail@aurabindo.in>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent d57229b1
...@@ -34,6 +34,12 @@ ...@@ -34,6 +34,12 @@
#define pr_fmt(fmt) "amdgpu: " fmt #define pr_fmt(fmt) "amdgpu: " fmt
#ifdef dev_fmt
#undef dev_fmt
#endif
#define dev_fmt(fmt) "amdgpu: " fmt
#include "amdgpu_ctx.h" #include "amdgpu_ctx.h"
#include <linux/atomic.h> #include <linux/atomic.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment