linux/drivers/gpu/drm/amd
Baoyou Xie 9f31a0b032 drm/amdgpu: clean function declarations in amdgpu_ttm.c up
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]

In fact, both functions are declared in
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c, but should be declared in
a header file, thus can be recognized in other file.

So this patch moves the declarations into
drivers/gpu/drm/amd/amdgpu/amdgpu.h.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2016-09-16 15:53:04 -04:00
..
acp drm/amd: add Kconfig dependency for ACP on DRM_AMDGPU 2016-05-25 09:44:15 -04:00
amdgpu drm/amdgpu: clean function declarations in amdgpu_ttm.c up 2016-09-16 15:53:04 -04:00
amdkfd drm/amdkfd: destroy mutex if process creation fails 2016-07-03 08:05:45 +03:00
include drm/amdgpu: add si dpm support in amdgpu_atombios 2016-08-31 15:21:07 -04:00
powerplay drm/amd/powerplay: Partially revert change initialize platform caps 2016-09-16 15:52:51 -04:00
scheduler drm/amd: fix deadlock of job_list_lock V2 2016-07-29 14:37:06 -04:00