summaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins
diff options
context:
space:
mode:
authorBaoyou Xie <baoyou.xie@linaro.org>2016-10-22 17:13:01 +0800
committerLiviu Dudau <Liviu.Dudau@arm.com>2016-11-04 17:10:42 +0000
commited8b0c0f93fd91447770ced4a7ecac1a1f39eae2 (patch)
tree7759f8da4020d6ea8ae67b106009282b3092e907 /scripts/gcc-plugins
parent2fe1f08ee06e9f2eabdaf9fdaba31360920abfcb (diff)
drm/arm: mark symbols static where possible
We get 2 warnings when building kernel with W=1: drivers/gpu/drm/arm/malidp_planes.c:49:25: warning: no previous prototype for 'malidp_duplicate_plane_state' [-Wmissing-prototypes] drivers/gpu/drm/arm/malidp_planes.c:66:6: warning: no previous prototype for 'malidp_destroy_plane_state' [-Wmissing-prototypes] In fact, both 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> Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions