Message ID | 20180516121031.GA74149@ivb43.lkp.intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c index 930d27d..f48dca2 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c @@ -41,7 +41,7 @@ static const struct amdgpu_amdkfd_if amdkfd_if = { #endif const struct kgd2kfd_calls *kgd2kfd; -const struct amdgpu_amdkfd_if *amdgpu_amdkfd_if; +static const struct amdgpu_amdkfd_if *amdgpu_amdkfd_if; bool (*kgd2kfd_init_p)(unsigned int, const struct kgd2kfd_calls**); static const unsigned int compute_vmid_bitmap = 0xFF00;
Fixes: da8a916b6b6d ("drm/amdgpu: conditionally compile amdgpu's amdkfd files") Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> --- amdgpu_amdkfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)