diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2024-01-24 19:01:00 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2024-05-03 23:09:21 +0300 |
commit | 5759b57f03ca07b465dc394112d8f383ef671a82 (patch) | |
tree | 4eb00dad626ec06426dc7e2a2ea949fdaa37e408 /arch/alpha/kernel/perf_event.c | |
parent | b973afe9d805d04230f55743bda1e34ce5ff8940 (diff) | |
download | linux-5759b57f03ca07b465dc394112d8f383ef671a82.tar.xz |
alpha: don't make functions public without a reason
if it's really used only inside the same source file, make it
static...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Paul E. McKenney <paulmck@kernel.org>
Acked-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/alpha/kernel/perf_event.c')
-rw-r--r-- | arch/alpha/kernel/perf_event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/kernel/perf_event.c b/arch/alpha/kernel/perf_event.c index ccdb508c1516..1f0eb4f25c0f 100644 --- a/arch/alpha/kernel/perf_event.c +++ b/arch/alpha/kernel/perf_event.c @@ -870,7 +870,7 @@ static void alpha_perf_event_irq_handler(unsigned long la_ptr, /* * Init call to initialise performance events at kernel startup. */ -int __init init_hw_perf_events(void) +static int __init init_hw_perf_events(void) { pr_info("Performance events: "); |