diff options
| author | Baoyou Xie <[email protected]> | 2016-10-22 09:17:44 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2016-10-24 14:28:03 +0000 |
| commit | a5725ab0497ad91a2df7c01a78bf1a0cc5be4526 (patch) | |
| tree | 070666c7c4b0078302e8c74b0a0e61282f1e8015 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |
| parent | drm/i2c/tda998x: mark symbol static where possible (diff) | |
| download | kernel-a5725ab0497ad91a2df7c01a78bf1a0cc5be4526.tar.gz kernel-a5725ab0497ad91a2df7c01a78bf1a0cc5be4526.zip | |
drm/msm/adreno: move function declarations to header file
We get 2 warnings when building kernel with W=1:
drivers/gpu/drm/msm/adreno/a3xx_gpu.c:535:17: warning: no previous prototype for 'a3xx_gpu_init' [-Wmissing-prototypes]
drivers/gpu/drm/msm/adreno/a4xx_gpu.c:624:17: warning: no previous prototype for 'a4xx_gpu_init' [-Wmissing-prototypes]
In fact, both functions are declared in
drivers/gpu/drm/msm/adreno/adreno_device.c, but should be declared
in a header file. So this patch moves both function declarations to
drivers/gpu/drm/msm/adreno/adreno_gpu.h.
Signed-off-by: Baoyou Xie <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions
