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 <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 3cb9d24 commit 0224b27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)