diff options
author | Baoyou Xie <baoyou.xie@linaro.org> | 2016-09-07 18:58:44 +0800 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2016-09-15 17:21:11 -0400 |
commit | 14edbde1a6cd46258126c82fcbf88a533a810611 (patch) | |
tree | 555e7508e40b6f0ee1c5fcfdc786fdd34f4af916 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | f755e227dc0ad9f2b58937db489b9a6f6c7b76d9 (diff) |
drm/msm/mdp4: mark symbols static where possible
We get 2 warnings when building kernel with W=1:
drivers/gpu/drm/msm/mdp/mdp4/mdp4_lcdc_encoder.c:96:23: warning: no previous prototype for 'get_connector' [-Wmissing-prototypes]
drivers/gpu/drm/msm/mdp/mdp4/mdp4_plane.c:84:5: warning: no previous prototype for 'mdp4_plane_set_property' [-Wmissing-prototypes]
In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
So this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Reviewed-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions