drm/amd/display: set should_disable_otg storage-class-specifier to static
authorTom Rix <trix@redhat.com>
Thu, 9 Feb 2023 13:40:49 +0000 (05:40 -0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Feb 2023 15:04:14 +0000 (10:04 -0500)
commit34a24462561ff5b48467243829afd9b2b407528e
tree3270ca4700baa9c5d59b519da88803c71e6e2eef
parent4d2c6e89ceec701d93e12161665cee43010555dd
drm/amd/display: set should_disable_otg storage-class-specifier to static

smatch reports
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c:90:6:
  warning: symbol 'should_disable_otg' was not declared. Should it be static?

should_disable_otg() is only used in dcn315_clk_mgr.c, so it should be static

Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c