mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
drm/amdgpu: kfd_initialized can be static
Fixes: c7651b7358
("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>
This commit is contained in:
parent
201a4eb9dc
commit
402bde58e7
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@
|
|||
*/
|
||||
uint64_t amdgpu_amdkfd_total_mem_size;
|
||||
|
||||
bool kfd_initialized;
|
||||
static bool kfd_initialized;
|
||||
|
||||
int amdgpu_amdkfd_init(void)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue