summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2017-10-03 08:11:01 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-10-06 20:07:58 +0300
commit44858055bb28b1ba45dc05acecf9087bc4786701 (patch)
tree309cc0059328b10e5944ab2b26bc08c7a93397d1 /drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
parentc6fa531809f08af52406347e5351920cc2d55e42 (diff)
downloadlinux-44858055bb28b1ba45dc05acecf9087bc4786701.tar.xz
amdgpu/dc: set a bunch of functions to static.
All of these are unused outside the file they are in. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce/dce_audio.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce/dce_audio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_audio.c b/drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
index 6e940286c98d..526ec5c8eafd 100644
--- a/drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
+++ b/drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
@@ -833,8 +833,7 @@ void dce_aud_wall_dto_setup(
}
}
-bool dce_aud_endpoint_valid(
- struct audio *audio)
+static bool dce_aud_endpoint_valid(struct audio *audio)
{
uint32_t value;
uint32_t port_connectivity;