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)
commitae2bf61ff39e78ce926de37d22dc7d5159c610cd
treeccedf13d6e4dd8a4d4089f920adfd76231488e7b
parent2e2f5dd51421648098bb4621719181b963d2d961
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