diff options
| author | Guchun Chen <guchun.chen@amd.com> | 2021-11-26 13:14:41 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2021-12-01 16:03:56 -0500 |
| commit | 6c18ecefaba7ccb8150bbcf997f7a796a43f786b (patch) | |
| tree | e43b9c244a8a8b33795a7f2601e1b2db54c787b3 /tools/perf/scripts | |
| parent | amdgpu/pm: Modify implmentations of get_power_profile_mode to use amdgpu_pp_p... (diff) | |
| download | linux-6c18ecefaba7ccb8150bbcf997f7a796a43f786b.tar.gz linux-6c18ecefaba7ccb8150bbcf997f7a796a43f786b.zip | |
drm/amdgpu: declare static function to fix compiler warning
>> drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:503:6: warning: no previous prototype for function 'release_psp_cmd_buf' [-Wmissing-prototypes]
void release_psp_cmd_buf(struct psp_context *psp)
^
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:503:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void release_psp_cmd_buf(struct psp_context *psp)
^
static
1 warning generated.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Kevin Wang <kevinyang.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
