Skip to content

Commit

Permalink
drm/amd/display: make hubp1_wait_pipe_read_start() static
Browse files Browse the repository at this point in the history
It's a local function, let's make it static.

AGD: remove prototype in dcn10_hubp.h

Signed-off-by: Tales Lelo da Aparecida <tales.aparecida@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
  • Loading branch information
Tales Lelo da Aparecida authored and Alex Deucher committed Apr 19, 2022
1 parent f24044b commit a26b9e0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1316,7 +1316,7 @@ void hubp1_set_flip_int(struct hubp *hubp)
*
* @hubp: hubp struct reference.
*/
void hubp1_wait_pipe_read_start(struct hubp *hubp)
static void hubp1_wait_pipe_read_start(struct hubp *hubp)
{
struct dcn10_hubp *hubp1 = TO_DCN10_HUBP(hubp);

Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.h
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,5 @@ bool hubp1_in_blank(struct hubp *hubp);
void hubp1_soft_reset(struct hubp *hubp, bool reset);

void hubp1_set_flip_int(struct hubp *hubp);
void hubp1_wait_pipe_read_start(struct hubp *hubp);

#endif

0 comments on commit a26b9e0

Please sign in to comment.