summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruanjinjie <ruanjinjie@huawei.com>2022-10-19 09:23:47 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-10-24 21:34:47 +0300
commit178919f8ff2d4cd1ad32680eb767e6761e9d00ea (patch)
treedaa4771a60fbc9ffb12ffa137b0e3175ae4a0148
parent72c9abd5399d9f5c20a5b93737e67edba3189079 (diff)
downloadlinux-178919f8ff2d4cd1ad32680eb767e6761e9d00ea.tar.xz
drm/amd/display: make dcn32_mpc_funcs static
The symbol is not used outside of the file, so mark it static. Fixes the following warning: drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_mpc.c:985:24: warning: symbol 'dcn32_mpc_funcs' was not declared. Should it be static? Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: ruanjinjie <ruanjinjie@huawei.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mpc.c b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mpc.c
index 4edd0655965b..206a5ddbaf6d 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mpc.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mpc.c
@@ -982,7 +982,7 @@ static bool mpc32_program_3dlut(
return true;
}
-const struct mpc_funcs dcn32_mpc_funcs = {
+static const struct mpc_funcs dcn32_mpc_funcs = {
.read_mpcc_state = mpc1_read_mpcc_state,
.insert_plane = mpc1_insert_plane,
.remove_mpcc = mpc1_remove_mpcc,