diff options
author | Baoyou Xie <baoyou.xie@linaro.org> | 2016-09-08 19:29:24 +0800 |
---|---|---|
committer | Jyri Sarha <jsarha@ti.com> | 2016-09-22 23:50:09 +0300 |
commit | 952e8faec53ec1de045f44f48a82e5069d2f17b4 (patch) | |
tree | a22fdec67fc67e3f2d07d9ab32eaf07f70a0c184 /drivers/gpu/drm/tilcdc/tilcdc_external.c | |
parent | 0fd86779f04afcddbcff0ecb7ff3b487d17add7c (diff) |
drm/tilcdc: mark symbols static where possible
We get 3 warnings when building kernel with W=1:
drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c:142:29: warning: no previous prototype for 'tilcdc_get_overlay' [-Wmissing-prototypes]
drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c:198:13: warning: no previous prototype for 'tilcdc_convert_slave_node' [-Wmissing-prototypes]
drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c:264:12: warning: no previous prototype for 'tilcdc_slave_compat_init' [-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>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Diffstat (limited to 'drivers/gpu/drm/tilcdc/tilcdc_external.c')
0 files changed, 0 insertions, 0 deletions