Commit 988bfa0b authored by Jinjie Ruan's avatar Jinjie Ruan Committed by Alex Deucher

drm/amd/display: Make core_dcn4_g6_temp_read_blackout_table static

The sparse tool complains as follows:

drivers/gpu/drm/amd/amdgpu/../display/dc/dml2/dml21/src/dml2_core/dml2_core_dcn4_calcs.c:6853:56: warning:
	symbol 'core_dcn4_g6_temp_read_blackout_table' was not declared. Should it be static?

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

And not want to change it, so mark it const.
Signed-off-by: default avatarJinjie Ruan <ruanjinjie@huawei.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 40318a24
...@@ -6887,7 +6887,8 @@ struct dml2_core_internal_g6_temp_read_blackouts_table { ...@@ -6887,7 +6887,8 @@ struct dml2_core_internal_g6_temp_read_blackouts_table {
} entries[DML_MAX_CLK_TABLE_SIZE]; } entries[DML_MAX_CLK_TABLE_SIZE];
}; };
struct dml2_core_internal_g6_temp_read_blackouts_table core_dcn4_g6_temp_read_blackout_table = { static const struct dml2_core_internal_g6_temp_read_blackouts_table
core_dcn4_g6_temp_read_blackout_table = {
.entries = { .entries = {
{ {
.uclk_khz = 96000, .uclk_khz = 96000,
......
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