From: Alex Deucher Date: Thu, 23 Jun 2022 16:37:40 +0000 (-0400) Subject: drm/amdgpu: fix documentation warning X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6e9c65f71eddef88f14b7210bbf30e6ce2409b87;p=linux.git drm/amdgpu: fix documentation warning Fixes this issue: drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:5094: warning: expecting prototype for amdgpu_device_gpu_recover_imp(). Prototype was for amdgpu_device_gpu_recover() instead Fixes: cf727044144d ("drm/amdgpu: Rename amdgpu_device_gpu_recover_imp back to amdgpu_device_gpu_recover") Reviewed-by: Kent Russell Reported-by: Stephen Rothwell Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 41f68b3427f24..64f37713b270c 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -5098,7 +5098,7 @@ static inline void amdgpu_device_stop_pending_resets(struct amdgpu_device *adev) /** - * amdgpu_device_gpu_recover_imp - reset the asic and recover scheduler + * amdgpu_device_gpu_recover - reset the asic and recover scheduler * * @adev: amdgpu_device pointer * @job: which job trigger hang