]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: make mpc32_program_shaper and mpc32_program_3dlut static
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Tue, 13 Sep 2022 08:38:04 +0000 (16:38 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Sep 2022 18:33:01 +0000 (14:33 -0400)
commitff75437293a5d5b9ddfeb072b871c93bf65f5f52
tree69f08fe8199c157614506be5212574518a2411db
parentc447cb43b91a747bf7e8a0bbfcef5b7b87231a71
drm/amd/display: make mpc32_program_shaper and mpc32_program_3dlut static

These two functions are not used outside the function dcn32_mpc.c, so the
modification is defined as static.

drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_mpc.c:704:6: warning: no previous prototype for ‘mpc32_program_shaper’.
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_mpc.c:900:6: warning: no previous prototype for ‘mpc32_program_3dlut’.

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