Commit 178919f8 authored by ruanjinjie's avatar ruanjinjie Committed by Alex Deucher

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: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarruanjinjie <ruanjinjie@huawei.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 72c9abd5
...@@ -982,7 +982,7 @@ static bool mpc32_program_3dlut( ...@@ -982,7 +982,7 @@ static bool mpc32_program_3dlut(
return true; return true;
} }
const struct mpc_funcs dcn32_mpc_funcs = { static const struct mpc_funcs dcn32_mpc_funcs = {
.read_mpcc_state = mpc1_read_mpcc_state, .read_mpcc_state = mpc1_read_mpcc_state,
.insert_plane = mpc1_insert_plane, .insert_plane = mpc1_insert_plane,
.remove_mpcc = mpc1_remove_mpcc, .remove_mpcc = mpc1_remove_mpcc,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment