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

drm/amd/amdgpu/amdgpu_virt: Make local function 'amdgpu_virt_update_vf2pf_work_item()' static

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

drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:560:6: warning: no previous prototype for ‘amdgpu_virt_update_vf2pf_work_item’ [-Wmissing-prototypes]

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
05ed830e 2c8645b7

+1 -1
+1 -1
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
··· 555 555 return 0; 556 556 } 557 557 558 - void amdgpu_virt_update_vf2pf_work_item(struct work_struct *work) 558 + static void amdgpu_virt_update_vf2pf_work_item(struct work_struct *work) 559 559 { 560 560 struct amdgpu_device *adev = container_of(work, struct amdgpu_device, virt.vf2pf_work.work); 561 561