Skip to content

Commit

Permalink
drm/amd/display: set should_disable_otg storage-class-specifier to st…
Browse files Browse the repository at this point in the history
…atic

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>
  • Loading branch information
Tom Rix authored and Alex Deucher committed Feb 9, 2023
1 parent 4d2c6e8 commit 34a2446
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ static int dcn315_get_active_display_cnt_wa(
return display_count;
}

bool should_disable_otg(struct pipe_ctx *pipe)
static bool should_disable_otg(struct pipe_ctx *pipe)
{
bool ret = true;

Expand Down

0 comments on commit 34a2446

Please sign in to comment.