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 15:15:04 -0400 |
commit | 0224b2758fb0d8a09c1a034afa6f03f27a8c7cc7 (patch) | |
tree | 78ade9ad94a2fe734140e90a96899fc3ad411aae /drivers/gpu | |
parent | 3cb9d2416ccdea14c5f1b05b5fdb15d5ebfa386b (diff) | |
download | linux-stable-0224b2758fb0d8a09c1a034afa6f03f27a8c7cc7.tar.gz linux-stable-0224b2758fb0d8a09c1a034afa6f03f27a8c7cc7.tar.bz2 linux-stable-0224b2758fb0d8a09c1a034afa6f03f27a8c7cc7.zip |
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')
-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) { |