diff options
author | 2016-09-15 21:43:26 +0800 | |
---|---|---|
committer | 2016-09-16 15:53:04 -0400 | |
commit | 9f31a0b0328cb70b9ea1058579710fb1439ee332 (patch) | |
tree | 712b63f79757e19524c5a15aeedbe7364133b2a9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/amdgpu: use the new ring ib and dma frame size callbacks (v2) (diff) | |
download | linux-dev-9f31a0b0328cb70b9ea1058579710fb1439ee332.tar.xz linux-dev-9f31a0b0328cb70b9ea1058579710fb1439ee332.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions