]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/cik_sdma: Move 'amdgpu_cik_gpu_check_soft_reset()'s prototype to shared...
authorLee Jones <lee.jones@linaro.org>
Mon, 16 Nov 2020 17:36:52 +0000 (17:36 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Nov 2020 20:56:35 +0000 (15:56 -0500)
commite948a62906a394345d8cad4a0c2fd2d4d8974081
tree878df0324c48f3e58ca995095fd26eb1e699fce5
parent3f098237e862f1a929452bbc6890802ccc5ea2cb
drm/radeon/cik_sdma: Move 'amdgpu_cik_gpu_check_soft_reset()'s prototype to shared header

Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/radeon/cik.c:4845:5: warning: no previous prototype for ‘cik_gpu_check_soft_reset’ [-Wmissing-prototypes]
 4845 | u32 cik_gpu_check_soft_reset(struct radeon_device *rdev)
 | ^~~~~~~~~~~~~~~~~~~~~~~~

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/cik.h
drivers/gpu/drm/radeon/cik_sdma.c