drm/amd/display: make hubp1_wait_pipe_read_start() static
Subsystems (3)
PATCH 1/1 drm/amd/display: make hubp1_wait_pipe_read_start() static
It's a local function, let's make it static.
Signed-off-by Tales Lelo da Aparecida <[email protected]>
--- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c +1 -1
@@ -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);
Signature · 1 line
2.35.1
Applied with minor change to drop the prototype in dcn10_hubp.h. Thanks!
Alex
Quoted 24 lines · Tales Lelo da Aparecida
It's a local function, let's make it static.
Signed-off-by Tales Lelo da Aparecida <[email protected]>--- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c +1
-2@@ -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); --2.35.1