mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-11 22:50:55 -04:00
drm/amd/amdgpu: add print prefix for dev_* variants
Define dev_fmt macro for informative print messages Signed-off-by: Aurabindo Pillai <mail@aurabindo.in> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
d57229b1da
commit
539489fc91
@@ -34,6 +34,12 @@
|
||||
|
||||
#define pr_fmt(fmt) "amdgpu: " fmt
|
||||
|
||||
#ifdef dev_fmt
|
||||
#undef dev_fmt
|
||||
#endif
|
||||
|
||||
#define dev_fmt(fmt) "amdgpu: " fmt
|
||||
|
||||
#include "amdgpu_ctx.h"
|
||||
|
||||
#include <linux/atomic.h>
|
||||
|
||||
Reference in New Issue
Block a user