Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/amdgpu/gmc_v7_0: Fix potential copy/paste issue

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

drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c:526: warning: expecting prototype for gmc_v8_0_set_fault_enable_default(). Prototype was for gmc_v7_0_set_fault_enable_default() 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: 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>

authored by

Lee Jones and committed by
Alex Deucher
9f7724f0 d34c42d4

+1 -1
+1 -1
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c
··· 516 516 } 517 517 518 518 /** 519 - * gmc_v8_0_set_fault_enable_default - update VM fault handling 519 + * gmc_v7_0_set_fault_enable_default - update VM fault handling 520 520 * 521 521 * @adev: amdgpu_device pointer 522 522 * @value: true redirects VM faults to the default page