drm/amd/display: make virtual_disable_link_output static
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 10 Oct 2022 14:37:43 +0000 (10:37 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Oct 2022 15:32:59 +0000 (11:32 -0400)
It's not used outside of virtual_link_hwss.c.  Fixes
a -Wmissing-prototypes warning.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/virtual/virtual_link_hwss.c

index 9522fe0b36c986681e62f790d1a5994e84977987..4f7f99156897b86566c446d543ac7ea953825741 100644 (file)
@@ -37,7 +37,7 @@ void virtual_reset_stream_encoder(struct pipe_ctx *pipe_ctx)
 {
 }
 
-void virtual_disable_link_output(struct dc_link *link,
+static void virtual_disable_link_output(struct dc_link *link,
        const struct link_resource *link_res,
        enum signal_type signal)
 {