[RFC PATCH radeon-alex] drm/amdkfd: amd_kfd_fence_ops can be static
kbuild test robot
lkp at intel.com
Wed Apr 25 04:52:18 UTC 2018
Fixes: 61986dd6bef0 ("drm/amdkfd: Copy in KFD-related files")
Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
---
amdgpu_amdkfd_fence.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c
index cf2f1e9..e659e0b 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c
@@ -29,7 +29,7 @@
#include <linux/sched/mm.h>
#include "amdgpu_amdkfd.h"
-const struct dma_fence_ops amd_kfd_fence_ops;
+static const struct dma_fence_ops amd_kfd_fence_ops;
static atomic_t fence_seq = ATOMIC_INIT(0);
/* Eviction Fence
More information about the dri-devel
mailing list