]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
drm/amd/amdgpu/gmc_v10_0: Fix potential copy/paste issue
authorLee Jones <lee.jones@linaro.org>
Thu, 20 May 2021 12:02:36 +0000 (13:02 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 May 2021 14:32:17 +0000 (10:32 -0400)
Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c:955: warning: expecting prototype for gmc_v8_0_gart_fini(). Prototype was for gmc_v10_0_gart_fini() instead

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: Sumit Semwal <sumit.semwal@linaro.org>
Cc: amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Cc: linux-media@vger.kernel.org
Cc: linaro-mm-sig@lists.linaro.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c

index c44767ce3c8a4716a622547f497d423dd691565f..ceab5ef5079010d5f1e347e986922270867cd22d 100644 (file)
@@ -956,7 +956,7 @@ static int gmc_v10_0_sw_init(void *handle)
 }
 
 /**
- * gmc_v8_0_gart_fini - vm fini callback
+ * gmc_v10_0_gart_fini - vm fini callback
  *
  * @adev: amdgpu_device pointer
  *