From 7cebc728174424d67df91dfb14f8b6dc13bed993 Mon Sep 17 00:00:00 2001 From: Alexander Kuleshov Date: Sat, 27 Jun 2015 13:16:05 +0600 Subject: [PATCH] gpu/drm/amdgpu: Fix build when CONFIG_DEBUG_FS is not set MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit If the CONFIG_DEBUG_FS is not selected, compilation of the drivers/gpu/drm/amd/amdgpu/amdgpu_device.c provides two warnings that amdgpu_debugfs_regs_init and amdgpu_debugfs_regs_cleanup are used but never defined. And as result: ERROR: "amdgpu_debugfs_regs_cleanup" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined! ERROR: "amdgpu_debugfs_regs_init" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined! ^ Reviewed-by: Christian König Signed-off-by: Alexander Kuleshov Signed-off-by: Alex Deucher --- Reading git-format-patch failed