drm/amd/display/dc/core/dc_link_dp: Staticify local function 'linkRateInKHzToLinkRate...
authorLee Jones <lee.jones@linaro.org>
Wed, 13 Jan 2021 08:07:30 +0000 (08:07 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Jan 2021 18:20:20 +0000 (13:20 -0500)
commitd308d0b4b9a4f9c1af0124b83ad00e062c4ea10b
tree9d8a3edd27f8ecbb8493042f6a4c717dca0bc040
parent4202ef47651b80b0724a3d01b1595fe974595a34
drm/amd/display/dc/core/dc_link_dp: Staticify local function 'linkRateInKHzToLinkRateMultiplier'

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

 drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:3710:19: warning: no previous prototype for ‘linkRateInKHzToLinkRateMultiplier’ [-Wmissing-prototypes]
 drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c: In function ‘dpcd_set_source_specific_data’:
 drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:4403:18: warning: variable ‘result_write_min_hblank’ set but not used [-Wunused-but-set-variable]

Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Leo Li <sunpeng.li@amd.com>
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: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c