Commit 29ec5458 authored by Lee Jones's avatar Lee Jones Committed by Alex Deucher
Browse files

drm/amd/amdgpu/vcn_v1_0: Fix some function naming disparity



Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c:775: warning: expecting prototype for vcn_v1_0_start(). Prototype was for vcn_v1_0_start_spg_mode() instead
 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c:1111: warning: expecting prototype for vcn_v1_0_stop(). Prototype was for vcn_v1_0_stop_spg_mode() instead

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent ef6f7640
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -769,7 +769,7 @@ static void vcn_1_0_enable_static_power_gating(struct amdgpu_device *adev)
}

/**
 * vcn_v1_0_start - start VCN block
 * vcn_v1_0_start_spg_mode - start VCN block
 *
 * @adev: amdgpu_device pointer
 *
@@ -1105,7 +1105,7 @@ static int vcn_v1_0_start(struct amdgpu_device *adev)
}

/**
 * vcn_v1_0_stop - stop VCN block
 * vcn_v1_0_stop_spg_mode - stop VCN block
 *
 * @adev: amdgpu_device pointer
 *