diff options
author | Alexander Kuleshov | 2015-06-27 09:16:05 +0200 |
---|---|---|
committer | Alex Deucher | 2015-06-29 21:52:48 +0200 |
commit | 7cebc728174424d67df91dfb14f8b6dc13bed993 (patch) | |
tree | 96a1ad0679678727487ff8b37398a11dd7410aa8 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
parent | Revert "drm/radeon: dont switch vt on suspend" (diff) | |
download | kernel-qcow2-linux-7cebc728174424d67df91dfb14f8b6dc13bed993.tar.gz kernel-qcow2-linux-7cebc728174424d67df91dfb14f8b6dc13bed993.tar.xz kernel-qcow2-linux-7cebc728174424d67df91dfb14f8b6dc13bed993.zip |
gpu/drm/amdgpu: Fix build when CONFIG_DEBUG_FS is not set
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 <christian.koenig@amd.com>
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions