]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: guard ras debugfs creation/removal based on CONFIG_DEBUG_FS
authorGuchun Chen <guchun.chen@amd.com>
Thu, 13 Aug 2020 07:00:56 +0000 (15:00 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Aug 2020 20:22:40 +0000 (16:22 -0400)
commit0990a58beacf1220de247838b1bfdb699d341a49
treeccedf13d6e4dd8a4d4089f920adfd76231488e7b
parent2f9cafdd1d1005c784c86ffedb68b240232123e6
drm/amdgpu: guard ras debugfs creation/removal based on CONFIG_DEBUG_FS

It can avoid potential build warn/error when
CONFIG_DEBUG_FS is not set.

Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Dennis Li <Dennis.Li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c