drm/amd/display: make hubp1_wait_pipe_read_start() static
authorTales Lelo da Aparecida <tales.aparecida@gmail.com>
Fri, 15 Apr 2022 18:20:14 +0000 (15:20 -0300)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Apr 2022 17:58:32 +0000 (13:58 -0400)
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>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.h

index fbff6beb78be8afeb9d6a5d0e3bbd446a3b76d68..3a7f76e2c598993a133e24dda6ba2005b12f5d38 100644 (file)
@@ -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);
 
index 4ccb03a7564a5bb8f73322b8c5831255276d5b8d..0b17c2993ca5b5b3fd2187f150a29a6d86b89540 100644 (file)
@@ -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