drm/amd/display: make configure_lttpr_mode_transparent and configure_lttpr_mode_non_t...
authorchongjiapeng <jiapeng.chong@linux.alibaba.com>
Mon, 6 Sep 2021 09:42:27 +0000 (17:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Sep 2021 17:30:50 +0000 (13:30 -0400)
commitbbb36348004595799a5c6df0d9e4e6f65772c2ab
tree112f14ef6cc3102dc5bed1b709abf92ecefbf2e6
parent1c48fbf691391512f01300ae296744b4962f9598
drm/amd/display: make configure_lttpr_mode_transparent and configure_lttpr_mode_non_transparent static

This symbols is not used outside of dc_link_dp.c, so marks it static.

Fix the following sparse warning:

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:1766:16:
warning: symbol 'configure_lttpr_mode_non_transparent' was not declared.
Should it be static?

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:1755:16:
warning: symbol 'configure_lttpr_mode_transparent' was not declared.
Should it be static?

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: chongjiapeng <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c