]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Make core_dcn4_ip_caps_base static
authorJinjie Ruan <ruanjinjie@huawei.com>
Wed, 21 Aug 2024 06:40:37 +0000 (14:40 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Aug 2024 14:53:36 +0000 (10:53 -0400)
commit0e405395e0b162075001b9c027443dd10b723a03
treee427cd67e7c4c9dfcbdea6075d3e46031dcec024
parent988bfa0bc67d7220ff8d9e2ba3a425727aa98af3
drm/amd/display: Make core_dcn4_ip_caps_base static

The sparse tool complains as follows:

drivers/gpu/drm/amd/amdgpu/../display/dc/dml2/dml21/src/dml2_core/dml2_core_dcn4.c:12:28: warning:
symbol 'core_dcn4_ip_caps_base' was not declared. Should it be static?

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

And do 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>
drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_dcn4.c