summaryrefslogtreecommitdiff
path: root/include/linux/cpufreq.h
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2025-01-23 14:27:11 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2025-02-07 09:45:16 +0530
commitc952775a3d72b0505c2f8f4171929c293479f0fd (patch)
tree8ee7c40c8e4b3aacc7b913415d20ae4b81db776f /include/linux/cpufreq.h
parente8b08af135b7686640ebb2dc1eaa060e42a41af6 (diff)
downloadlwn-c952775a3d72b0505c2f8f4171929c293479f0fd.tar.gz
lwn-c952775a3d72b0505c2f8f4171929c293479f0fd.zip
cpufreq: staticize policy_has_boost_freq()
policy_has_boost_freq() isn't used outside of freq_table.c now, mark it static. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'include/linux/cpufreq.h')
-rw-r--r--include/linux/cpufreq.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h
index b017af4398b9..466d186166da 100644
--- a/include/linux/cpufreq.h
+++ b/include/linux/cpufreq.h
@@ -783,7 +783,6 @@ ssize_t cpufreq_show_cpus(const struct cpumask *mask, char *buf);
#ifdef CONFIG_CPU_FREQ
bool cpufreq_boost_enabled(void);
int cpufreq_enable_boost_support(void);
-bool policy_has_boost_freq(struct cpufreq_policy *policy);
int cpufreq_boost_set_sw(struct cpufreq_policy *policy, int state);
/* Find lowest freq at or above target in a table in ascending order */
@@ -1163,11 +1162,6 @@ static inline int cpufreq_enable_boost_support(void)
return -EINVAL;
}
-static inline bool policy_has_boost_freq(struct cpufreq_policy *policy)
-{
- return false;
-}
-
static inline int cpufreq_boost_set_sw(struct cpufreq_policy *policy, int state)
{
return -EOPNOTSUPP;