Commit 34a24462 authored by Tom Rix's avatar Tom Rix Committed by Alex Deucher

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: default avatarTom Rix <trix@redhat.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 4d2c6e89
...@@ -87,7 +87,7 @@ static int dcn315_get_active_display_cnt_wa( ...@@ -87,7 +87,7 @@ static int dcn315_get_active_display_cnt_wa(
return display_count; return display_count;
} }
bool should_disable_otg(struct pipe_ctx *pipe) static bool should_disable_otg(struct pipe_ctx *pipe)
{ {
bool ret = true; bool ret = true;
......
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