aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorAlex Xie <[email protected]>2017-06-20 20:35:04 +0000
committerAlex Deucher <[email protected]>2017-06-29 16:43:51 +0000
commit9211c784c64e56a87a6ef66e65506bc82fdb7076 (patch)
treec3dd7338b25b94c12c99ca10f190c098ef58596e /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentdrm/amdgpu/cs: fix a typo in a comment (diff)
downloadkernel-9211c784c64e56a87a6ef66e65506bc82fdb7076.tar.gz
kernel-9211c784c64e56a87a6ef66e65506bc82fdb7076.zip
drm/amdgpu: Make amdgpu_cs_parser_init static (v2)
The function is called only once inside the .c file. v2: update the commit message (Michel) Signed-off-by: Alex Xie <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
index 144b251bd7c8..546a77e6fdff 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
@@ -64,7 +64,7 @@ static int amdgpu_cs_user_fence_chunk(struct amdgpu_cs_parser *p,
return 0;
}
-int amdgpu_cs_parser_init(struct amdgpu_cs_parser *p, void *data)
+static int amdgpu_cs_parser_init(struct amdgpu_cs_parser *p, void *data)
{
struct amdgpu_fpriv *fpriv = p->filp->driver_priv;
struct amdgpu_vm *vm = &fpriv->vm;