summaryrefslogtreecommitdiffstats
path: root/drivers/slimbus
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2020-12-04 00:06:43 +0100
committerAlex Deucher <alexander.deucher@amd.com>2020-12-09 10:06:39 -0500
commit2343e9d2c5a94459b9de92649f1650e36eb79a10 (patch)
tree5f255fc7f24692336a72ee80abbac8694926459f /drivers/slimbus
parent578b6c487899179fed730e710ffec0b069917971 (diff)
downloadlinux-2343e9d2c5a94459b9de92649f1650e36eb79a10.tar.bz2
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 <tao.zhou1@amd.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/slimbus')
0 files changed, 0 insertions, 0 deletions