drm/amd/display: make some functions static
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Wed, 14 Sep 2022 05:27:41 +0000 (13:27 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Sep 2022 16:38:53 +0000 (12:38 -0400)
commit73258e916a4e7e8adc9402da68ad9bc40dd38686
tree363a894a1a1e1bd6d83f85ceb70fde1f2bd2bcf8
parentc1e48e36c120df7e3a3cb39d17d64c753485f225
drm/amd/display: make some functions static

These functions are not used outside the file dcn32_dccg.c, so the
modification is defined as static.

drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_dccg.c:257:6: warning: no previous prototype for ‘dccg32_otg_drop_pixel’.
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_dccg.c:248:6: warning: no previous prototype for ‘dccg32_otg_add_pixel’.
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_dccg.c:211:6: warning: no previous prototype for ‘dccg32_set_dpstreamclk’.
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_dccg.c:136:6: warning: no previous prototype for ‘dccg32_set_dtbclk_dto’.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2142
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_dccg.c