aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2020-12-03 23:06:43 +0000
committerAlex Deucher <[email protected]>2020-12-09 04:02:05 +0000
commitcedf788459683b84800fd3ecc63c63e2e3a5be33 (patch)
treec4755492a8bd8f4cedeae088dc07db4f21c14666 /drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c
parentdrm/amdgpu/disply: set num_crtc earlier (diff)
downloadkernel-cedf788459683b84800fd3ecc63c63e2e3a5be33.tar.gz
kernel-cedf788459683b84800fd3ecc63c63e2e3a5be33.zip
drm/amdgpu: fix debugfs creation/removal, again
There is still a warning when CONFIG_DEBUG_FS is disabled: drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:1145:13: error: 'amdgpu_ras_debugfs_create_ctrl_node' defined but not used [-Werror=unused-function] 1145 | static void amdgpu_ras_debugfs_create_ctrl_node(struct amdgpu_device *adev) Change the code again to make the compiler actually drop this code but not warn about it. Fixes: ae2bf61ff39e ("drm/amdgpu: guard ras debugfs creation/removal based on CONFIG_DEBUG_FS") Reviewed-by: Tao Zhou <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c')
0 files changed, 0 insertions, 0 deletions