diff options
| author | Baoyou Xie <[email protected]> | 2016-09-25 15:43:08 +0800 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2016-10-04 08:23:01 +0200 |
| commit | 6239817702e6fc3737d95256586a767a9b4f7fc0 (patch) | |
| tree | 74f72ace0cf67c987a262e3458b88806c081ab50 /net/lapb/lapb_in.c | |
| parent | 813cfc89f826edc6d78ac0dc0cfbf45ca6483fd4 (diff) | |
drm/rockchip: mark symbols static where possible
We get 2 warnings when building kernel with W=1:
drivers/gpu/drm/rockchip/rockchip_drm_drv.c:309:6: warning: no previous prototype for 'rockchip_drm_fb_suspend' [-Wmissing-prototypes]
drivers/gpu/drm/rockchip/rockchip_drm_drv.c:318:6: warning: no previous prototype for 'rockchip_drm_fb_resume' [-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 <[email protected]>
Signed-off-by: Sean Paul <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions