Skip to contentSkip to conversation

drivers: gpu: amdgpu: Remove @dev from amdgpu_gem_prime_export documentation

PATCH New Jaskaran Singh 1 participant 1 message Nov 1, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers: gpu: amdgpu: Remove @dev from amdgpu_gem_prime_export documentation

The function does not have a "dev" argument, so remove it from the documentation. This fixes the following documentation build warning:

./drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c:335:
warning: Excess function parameter 'dev' description in 'amdgpu_gem_prime_export'

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c +0 -1
index 61f108ec2b5c..4917b548b7f2 100644
@@ -321,7 +321,6 @@ const struct dma_buf_ops amdgpu_dmabuf_ops = {
 
 /**
  * amdgpu_gem_prime_export - &drm_driver.gem_prime_export implementation
- * @dev: DRM device
  * @gobj: GEM BO
  * @flags: Flags such as DRM_CLOEXEC and DRM_RDWR.
  *
Signature · 1 line
2.21.0