[PATCH] gpu/drm/amdgpu: Fix build when CONFIG_DEBUG_FS is not set

2015-06-29 Thread Christian König
On 27.06.2015 09:16, Alexander Kuleshov wrote: > 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: "amd

[PATCH] gpu/drm/amdgpu: Fix build when CONFIG_DEBUG_FS is not set

2015-06-27 Thread Alexander Kuleshov
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/amdg