]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add one definition for RAS's sysfs/debugfs name(v2)
authorGuchun Chen <guchun.chen@amd.com>
Fri, 31 Jul 2020 06:39:57 +0000 (14:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Aug 2020 21:27:08 +0000 (17:27 -0400)
commitcb138d53df3f6e1d2ce27a839b03e88a960bc2b7
tree4fef6e867a29ac13ecce9e6a48072bc5f29f1ab3
parentca844eb4cd254a7d322445e06726c006cfa8526f
drm/amdgpu: add one definition for RAS's sysfs/debugfs name(v2)

Add one definition for the RAS module's FS name. It's used
in both debugfs and sysfs cases.

v2: Use static variable instead of macro definition.

Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c