Commit 775be506 authored by Ben Dooks's avatar Ben Dooks Committed by Thomas Gleixner

clockevents: Make clockevents_subsys static

The clockevents_subsys struct is used for sysfs support and
is not declared or used outside the file it is defined in.
Fix the following warning by making it static:

kernel/time/clockevents.c:648:17: warning: symbol 'clockevents_subsys' was not declared. Should it be static?
Signed-off-by: default avatarBen Dooks <>
Link: default avatarThomas Gleixner <>
parent 1d661bf5
......@@ -645,7 +645,7 @@ void tick_cleanup_dead_cpu(int cpu)
struct bus_type clockevents_subsys = {
static struct bus_type clockevents_subsys = {
.name = "clockevents",
.dev_name = "clockevent",
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment