OSDN Git Service

drm/amd/display: make dscl32_calc_lb_num_partitions static
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Tue, 13 Sep 2022 08:38:02 +0000 (16:38 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Sep 2022 18:33:01 +0000 (14:33 -0400)
commit1a468dd88a13b39dace8b5eb87a274782a56cece
tree947805c5394579b97d0b038623d4f763e70e347e
parent1e0301e127cfc708c852278539e0bbd4c77ccb09
drm/amd/display: make dscl32_calc_lb_num_partitions static

This symbol is not used outside of dcn32_dpp.c, so marks it static.

drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_dpp.c:34:6: warning: no previous prototype for ‘dscl32_calc_lb_num_partitions’.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2118
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dpp.c