]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amdgpu: Rename VCN clock gating function for consistency
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Thu, 13 Feb 2025 18:13:46 +0000 (23:43 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 17 Feb 2025 19:09:28 +0000 (14:09 -0500)
Change the function name from vcn_v2_5_enable_clock_gating_inst
to vcn_v2_5_enable_clock_gating to ensure consistency in naming.

Fixes the below with gcc W=1:
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c:781: warning: expecting prototype for vcn_v2_5_enable_clock_gating_inst(). Prototype was for vcn_v2_5_enable_clock_gating() instead

Cc: Leo Liu <leo.liu@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c

index b9be304aa294b8b98db140edac9d86d71bb61f5b..105e59f6132bbbe8866ad097bb956c6bf0f2f9e3 100644 (file)
@@ -770,7 +770,7 @@ static void vcn_v2_5_clock_gating_dpg_mode(struct amdgpu_device *adev,
 }
 
 /**
- * vcn_v2_5_enable_clock_gating_inst - enable VCN clock gating
+ * vcn_v2_5_enable_clock_gating - enable VCN clock gating
  *
  * @adev: amdgpu_device pointer
  * @i: instance to enable clockgating on