diff options
| author | Nathan Chancellor <nathan@kernel.org> | 2023-12-01 01:58:22 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2023-12-11 04:21:35 +0300 |
| commit | 1f443caea93e76a9e4613d9e370e082354ae3b44 (patch) | |
| tree | 5a953ae953ec1dd8e379f71c09c47c1420748320 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 3279333097b22e1bab750d0f40837a097ec765fd (diff) | |
| download | linux-1f443caea93e76a9e4613d9e370e082354ae3b44.tar.xz | |
hexagon: time: mark time_init_deferred() as static
Clang warns:
arch/hexagon/kernel/time.c:163:13: warning: no previous prototype for function 'time_init_deferred' [-Wmissing-prototypes]
163 | void __init time_init_deferred(void)
| ^
arch/hexagon/kernel/time.c:163:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
163 | void __init time_init_deferred(void)
| ^
| static
This function is not used outside of this translation unit so mark it as
static to resolve the warning.
Link: https://lkml.kernel.org/r/20231130-hexagon-missing-prototypes-v1-9-5c34714afe9e@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Brian Cain <bcain@quicinc.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
