summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dcn303
diff options
context:
space:
mode:
authorIsabella Basso <isabbasso@riseup.net>2021-12-08 04:25:26 +0300
committerAlex Deucher <alexander.deucher@amd.com>2021-12-14 00:32:34 +0300
commit64cf26f04ad05ac7b4fc7d3339d893f21a06cab1 (patch)
tree9a588b2db7d3b3ef2c77fb5e12b9638a8a3a0df2 /drivers/gpu/drm/amd/display/dc/dcn303
parentded331a0710db8e92f3efd1c8040c0c52997c9b5 (diff)
downloadlinux-64cf26f04ad05ac7b4fc7d3339d893f21a06cab1.tar.xz
drm/amd: append missing includes
This fixes warnings caused by global functions lacking prototypes:, such as: warning: no previous prototype for 'dcn303_hw_sequencer_construct' [-Wmissing-prototypes] 12 | void dcn303_hw_sequencer_construct(struct dc *dc) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ... warning: no previous prototype for ‘amdgpu_has_atpx’ [-Wmissing-prototypes] 76 | bool amdgpu_has_atpx(void) { | ^~~~~~~~~~~~~~~ Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Isabella Basso <isabbasso@riseup.net> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn303')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dcn303/dcn303_init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn303/dcn303_init.c b/drivers/gpu/drm/amd/display/dc/dcn303/dcn303_init.c
index aa5dbbade2bd..f499f8ab5e47 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn303/dcn303_init.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn303/dcn303_init.c
@@ -9,6 +9,8 @@
#include "dcn30/dcn30_init.h"
#include "dc.h"
+#include "dcn303_init.h"
+
void dcn303_hw_sequencer_construct(struct dc *dc)
{
dcn30_hw_sequencer_construct(dc);