summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2022-10-10 16:37:43 +0200
committerAlex Deucher <alexander.deucher@amd.com>2022-10-11 17:32:59 +0200
commitb1d1666276cce28743e2cf90be07182ceac14f1e (patch)
tree1c4d6a73a961dc3ddab69b43d2ecebae605c2e8a /drivers/gpu
parentdrm/amd/display: fix indentation in dc.c (diff)
downloadlinux-b1d1666276cce28743e2cf90be07182ceac14f1e.tar.xz
linux-b1d1666276cce28743e2cf90be07182ceac14f1e.zip
drm/amd/display: make virtual_disable_link_output static
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>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/amd/display/dc/virtual/virtual_link_hwss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/virtual/virtual_link_hwss.c b/drivers/gpu/drm/amd/display/dc/virtual/virtual_link_hwss.c
index 9522fe0b36c9..4f7f99156897 100644
--- a/drivers/gpu/drm/amd/display/dc/virtual/virtual_link_hwss.c
+++ b/drivers/gpu/drm/amd/display/dc/virtual/virtual_link_hwss.c
@@ -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)
{