diff options
author | 2016-09-23 21:38:28 +0800 | |
---|---|---|
committer | 2016-09-27 12:43:34 +0200 | |
commit | 58ccaae30322b13c587596adb39408fca2a5ef7f (patch) | |
tree | 7d79602fb7943a496e0f8b16d71ed4bd75b0b4ed /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | spmi: pmic-arb: Return an error code if sanity check fails (diff) | |
download | wireguard-linux-58ccaae30322b13c587596adb39408fca2a5ef7f.tar.xz wireguard-linux-58ccaae30322b13c587596adb39408fca2a5ef7f.zip |
vme: fake: mark symbols static where possible
We get 4 warnings when building kernel with W=1:
drivers/vme/bridges/vme_fake.c:384:6: warning: no previous prototype for 'fake_lm_check' [-Wmissing-prototypes]
drivers/vme/bridges/vme_fake.c:619:6: warning: no previous prototype for 'fake_vmewrite8' [-Wmissing-prototypes]
drivers/vme/bridges/vme_fake.c:649:6: warning: no previous prototype for 'fake_vmewrite16' [-Wmissing-prototypes]
drivers/vme/bridges/vme_fake.c:679:6: warning: no previous prototype for 'fake_vmewrite32' [-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>
Acked-by: Martyn Welch <martyn@welchs.me.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions