Commit 988bfa0
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: Jinjie Ruan <ruanjinjie@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>1 parent 40318a2 commit 988bfa0
1 file changed
Lines changed: 2 additions & 1 deletion
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6887 | 6887 | | |
6888 | 6888 | | |
6889 | 6889 | | |
6890 | | - | |
| 6890 | + | |
| 6891 | + | |
6891 | 6892 | | |
6892 | 6893 | | |
6893 | 6894 | | |
| |||
0 commit comments