aboutsummaryrefslogtreecommitdiff
path: root/arch/alpha/kernel/perf_event.c
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2024-01-24 11:01:00 -0500
committerArnd Bergmann <[email protected]>2024-05-03 22:09:21 +0200
commit5759b57f03ca07b465dc394112d8f383ef671a82 (patch)
tree4eb00dad626ec06426dc7e2a2ea949fdaa37e408 /arch/alpha/kernel/perf_event.c
parentb973afe9d805d04230f55743bda1e34ce5ff8940 (diff)
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 <[email protected]> Acked-by: Paul E. McKenney <[email protected]> Acked-by: Matt Turner <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'arch/alpha/kernel/perf_event.c')
-rw-r--r--arch/alpha/kernel/perf_event.c2
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: ");