summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorYangtao Li <tiny.windzz@gmail.com>2020-02-03 16:45:17 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-02-03 16:56:48 +0100
commit183edb20e60a73925bf3b60e2f4796898167262f (patch)
treee9b0b33ff93c6ba0de3e86379bad7350424ca0ce /include
parentMerge tag 'pm-5.6-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/raf... (diff)
downloadlinux-183edb20e60a73925bf3b60e2f4796898167262f.tar.xz
linux-183edb20e60a73925bf3b60e2f4796898167262f.zip
cpufreq: Make cpufreq_global_kobject static
The cpufreq_global_kobject is only used internally by cpufreq.c after commit 2361be236662 ("cpufreq: Don't create empty /sys/devices/system/cpu/cpufreq directory"). Make it static. Signed-off-by: Yangtao Li <tiny.windzz@gmail.com> [ rjw: Add empty line after cpufreq_global_kobject definition ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/cpufreq.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h
index 018dce868de6..0fb561d1b524 100644
--- a/include/linux/cpufreq.h
+++ b/include/linux/cpufreq.h
@@ -201,9 +201,6 @@ static inline bool policy_is_shared(struct cpufreq_policy *policy)
return cpumask_weight(policy->cpus) > 1;
}
-/* /sys/devices/system/cpu/cpufreq: entry point for global variables */
-extern struct kobject *cpufreq_global_kobject;
-
#ifdef CONFIG_CPU_FREQ
unsigned int cpufreq_get(unsigned int cpu);
unsigned int cpufreq_quick_get(unsigned int cpu);