Commit 37ba5bbc authored by Ramesh Errabolu's avatar Ramesh Errabolu Committed by Alex Deucher
Browse files

drm/amdgpu: Declare Unpin BO api as static



Fixes warning report from kernel test robot

Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarRamesh Errabolu <Ramesh.Errabolu@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 7b37c7f8
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1326,7 +1326,7 @@ static int amdgpu_amdkfd_gpuvm_pin_bo(struct amdgpu_bo *bo, u32 domain)
 *   - All other BO types (GTT, VRAM, MMIO and DOORBELL) will have their
 *   - All other BO types (GTT, VRAM, MMIO and DOORBELL) will have their
 *     PIN count decremented. Calls to UNPIN must balance calls to PIN
 *     PIN count decremented. Calls to UNPIN must balance calls to PIN
 */
 */
void amdgpu_amdkfd_gpuvm_unpin_bo(struct amdgpu_bo *bo)
static void amdgpu_amdkfd_gpuvm_unpin_bo(struct amdgpu_bo *bo)
{
{
	int ret = 0;
	int ret = 0;