diff options
author | Isabella Basso <isabbasso@riseup.net> | 2021-12-07 22:25:26 -0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-12-13 16:32:34 -0500 |
commit | 64cf26f04ad05ac7b4fc7d3339d893f21a06cab1 (patch) | |
tree | 9a588b2db7d3b3ef2c77fb5e12b9638a8a3a0df2 /drivers/gpu/drm/amd/display/dc/dcn303/dcn303_init.c | |
parent | ded331a0710db8e92f3efd1c8040c0c52997c9b5 (diff) | |
download | linux-stable-64cf26f04ad05ac7b4fc7d3339d893f21a06cab1.tar.gz linux-stable-64cf26f04ad05ac7b4fc7d3339d893f21a06cab1.tar.bz2 linux-stable-64cf26f04ad05ac7b4fc7d3339d893f21a06cab1.zip |
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/dcn303_init.c')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn303/dcn303_init.c | 2 |
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); |