Skip to content

Commit 0224b27

Browse files
intel-lab-lkpalexdeucher
authored andcommitted
drm/amdgpu: kfd_initialized can be static
Fixes: c7651b7 ("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>
1 parent 3cb9d24 commit 0224b27

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
*/
3737
uint64_t amdgpu_amdkfd_total_mem_size;
3838

39-
bool kfd_initialized;
39+
static bool kfd_initialized;
4040

4141
int amdgpu_amdkfd_init(void)
4242
{

0 commit comments

Comments
 (0)