mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
drm/amd/amdgpu/sdma_v4_0: Realign functions with their headers
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c:764: warning: expecting prototype for sdma_v4_0_page_ring_set_wptr(). Prototype was for sdma_v4_0_ring_set_wptr() instead drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c:830: warning: expecting prototype for sdma_v4_0_ring_set_wptr(). Prototype was for sdma_v4_0_page_ring_set_wptr() 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>
This commit is contained in:
parent
9f88be53c8
commit
47a6c67648
1 changed files with 2 additions and 2 deletions
|
@ -754,7 +754,7 @@ static uint64_t sdma_v4_0_ring_get_wptr(struct amdgpu_ring *ring)
|
|||
}
|
||||
|
||||
/**
|
||||
* sdma_v4_0_page_ring_set_wptr - commit the write pointer
|
||||
* sdma_v4_0_ring_set_wptr - commit the write pointer
|
||||
*
|
||||
* @ring: amdgpu ring pointer
|
||||
*
|
||||
|
@ -820,7 +820,7 @@ static uint64_t sdma_v4_0_page_ring_get_wptr(struct amdgpu_ring *ring)
|
|||
}
|
||||
|
||||
/**
|
||||
* sdma_v4_0_ring_set_wptr - commit the write pointer
|
||||
* sdma_v4_0_page_ring_set_wptr - commit the write pointer
|
||||
*
|
||||
* @ring: amdgpu ring pointer
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue