summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dcn201/dcn201_init.c
diff options
context:
space:
mode:
authorMaíra Canal <maira.canal@usp.br>2022-02-22 10:17:00 -0300
committerAlex Deucher <alexander.deucher@amd.com>2022-02-23 14:03:20 -0500
commit2bdcb12ff69df5e42eeebb297ddfc110ee8af203 (patch)
treeca51406d303e0c3dce0f1388b1e31a05f64e944d /drivers/gpu/drm/amd/display/dc/dcn201/dcn201_init.c
parentf3067604b8de052c6a1c65eed3305cb6f3f9eb18 (diff)
downloadlinux-next-2bdcb12ff69df5e42eeebb297ddfc110ee8af203.tar.gz
drm/amd/display: Add missing prototypes to dcn201_init
Include the header with the prototype to silence the following clang warning: drivers/gpu/drm/amd/amdgpu/../display/dc/dcn201/dcn201_init.c:127:6: warning: no previous prototype for function 'dcn201_hw_sequencer_construct' [-Wmissing-prototypes] void dcn201_hw_sequencer_construct(struct dc *dc) ^ Signed-off-by: Maíra Canal <maira.canal@usp.br> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn201/dcn201_init.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dcn201/dcn201_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn201/dcn201_init.c b/drivers/gpu/drm/amd/display/dc/dcn201/dcn201_init.c
index f1f89f93603f..1826dd7f3da1 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn201/dcn201_init.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn201/dcn201_init.c
@@ -27,6 +27,7 @@
#include "dcn10/dcn10_hw_sequencer.h"
#include "dcn20/dcn20_hwseq.h"
#include "dcn201_hwseq.h"
+#include "dcn201_init.h"
static const struct hw_sequencer_funcs dcn201_funcs = {
.program_gamut_remap = dcn10_program_gamut_remap,