OpenCloudOS-Kernel/drivers/gpu/drm/msm/mdp/mdp4
Baoyou Xie 14edbde1a6 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>
2016-09-15 17:21:11 -04:00
..
mdp4.xml.h drm/msm: update generated headers 2016-03-03 11:55:27 -05:00
mdp4_crtc.c drm: Remove unused drm_device from drm_gem_object_lookup() 2016-05-17 08:47:30 +02:00
mdp4_dsi_encoder.c drm/msm/mdp: removed optional dummy encoder mode_fixup function. 2016-02-16 15:33:21 +01:00
mdp4_dtv_encoder.c drm/msm/mdp4: Clean up some MDP4 clocks 2016-07-16 10:08:45 -04:00
mdp4_irq.c drm/msm: ratelimit error irq msgs 2015-12-14 11:49:52 -05:00
mdp4_kms.c drm/msm/mdp4: Fix issue with LCDC/LVDS port parsing 2016-09-15 12:53:37 -04:00
mdp4_kms.h drm/msm: Call pm_runtime_enable/disable for newly created devices 2016-07-16 10:08:58 -04:00
mdp4_lcdc_encoder.c drm/msm/mdp4: mark symbols static where possible 2016-09-15 17:21:11 -04:00
mdp4_lvds_connector.c drm: msm: Rely on the default ->best_encoder() behavior where appropriate 2016-06-09 08:43:26 +02:00
mdp4_lvds_pll.c drm/msm/mdp4: add LVDS panel support 2014-09-10 11:19:07 -04:00
mdp4_plane.c drm/msm/mdp4: mark symbols static where possible 2016-09-15 17:21:11 -04:00