diff options
author | kernel test robot <lkp@intel.com> | 2020-09-23 10:28:28 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-10-09 14:44:39 -0400 |
commit | 402bde58e7f40da4d4d87c10b74182ed6b5c97dc (patch) | |
tree | a1d9e08031befeb522f1a21c140435ddc4e4e3b1 /drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | |
parent | 201a4eb9dc960b6c081936e0990e289959707996 (diff) | |
download | linux-402bde58e7f40da4d4d87c10b74182ed6b5c97dc.tar.bz2 |
drm/amdgpu: kfd_initialized can be static
Fixes: c7651b73586600 ("drm/amdgpu: Fix handling of KFD initialization failures")
Signed-off-by: kernel test robot <lkp@intel.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c index 3c0e43f548fb..0544460653b9 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c @@ -36,7 +36,7 @@ */ uint64_t amdgpu_amdkfd_total_mem_size; -bool kfd_initialized; +static bool kfd_initialized; int amdgpu_amdkfd_init(void) { |