]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fixed kernel test robot warning
authorSouptick Joarder <jrdr.linux@gmail.com>
Fri, 11 Dec 2020 19:32:36 +0000 (01:02 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Dec 2020 16:35:03 +0000 (11:35 -0500)
commit7187d45236689e32647921fd5a9d6da1afe3ce10
tree5a4e0d33b7229b75998b7f40ec8615648d0f5c47
parentd4b75ffe143d9ac0836ec10c19f774644556e523
drm/amd/display: Fixed kernel test robot warning

Kernel test robot throws below warning ->

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:5349:5:
warning: no previous prototype for 'amdgpu_dm_crtc_atomic_set_property'
[-Wmissing-prototypes]
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:5349:5:
warning: no previous prototype for function
'amdgpu_dm_crtc_atomic_set_property' [-Wmissing-prototypes]
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:5373:5:
warning: no previous prototype for 'amdgpu_dm_crtc_atomic_get_property'
[-Wmissing-prototypes]
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:5373:5:
warning: no previous prototype for function
'amdgpu_dm_crtc_atomic_get_property' [-Wmissing-prototypes]

As these functions are only used inside amdgpu_dm.c, these can be
made static.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c