drm/amdgpu/gfx7: make gfx_v7_0_rlc_stop static
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 21 Jun 2016 16:19:43 +0000 (12:19 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 19:01:58 +0000 (15:01 -0400)
Not used outside of gfx7.

Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.h

index ba78992d420adfe9b5645b6548bd796bc6f0ff4f..1f06dd9dee292f15a9a005e9bc421c14b422b162 100644 (file)
@@ -3473,7 +3473,7 @@ static void gfx_v7_0_exit_rlc_safe_mode(struct amdgpu_device *adev)
  *
  * Halt the RLC ME (MicroEngine) (CIK).
  */
-void gfx_v7_0_rlc_stop(struct amdgpu_device *adev)
+static void gfx_v7_0_rlc_stop(struct amdgpu_device *adev)
 {
        WREG32(mmRLC_CNTL, 0);
 
index 1fbb00a9f5f32ce3c38a31237ec9e6c77c718023..94e3ea147c26ebae5e31f81d07b590002f58e79b 100644 (file)
@@ -26,7 +26,4 @@
 
 extern const struct amd_ip_funcs gfx_v7_0_ip_funcs;
 
-/* XXX these shouldn't be exported */
-void gfx_v7_0_rlc_stop(struct amdgpu_device *adev);
-
 #endif