]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
commit2012aff9815e8a0b6439a2fe73aedef12ba4595e
tree34c711f4398f785962dd5ff68e39453762a9c2bf
parenteda80f1c2a00e3b62060de031f5bc547003f288d
drm/amdgpu: Rename VCN clock gating function for consistency

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