[PATCH] drm/amdgpu: clean function declarations in amdgpu_ttm.c up

2016-09-16 Thread Alex Deucher
On Thu, Sep 15, 2016 at 9:49 AM, Christian König wrote: > Am 15.09.2016 um 15:43 schrieb Baoyou Xie: >> >> We get 2 warnings when building kernel with W=1: >> >> drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:985:5: warning: no previous >> prototype for 'amdgpu_ttm_init' [-Wmissing-prototypes] >>

[PATCH] drm/amdgpu: clean function declarations in amdgpu_ttm.c up

2016-09-15 Thread Baoyou Xie
We get 2 warnings when building kernel with W=1: drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:985:5: warning: no previous prototype for 'amdgpu_ttm_init' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1092:6: warning: no previous prototype for 'amdgpu_ttm_fini' [-Wmissing-prototypes]

[PATCH] drm/amdgpu: clean function declarations in amdgpu_ttm.c up

2016-09-15 Thread Christian König
Am 15.09.2016 um 15:43 schrieb Baoyou Xie: > We get 2 warnings when building kernel with W=1: > > drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:985:5: warning: no previous prototype > for 'amdgpu_ttm_init' [-Wmissing-prototypes] > drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1092:6: warning: no previous >