summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/freq_table.c
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 /drivers/cpufreq/freq_table.c
parente8b08af135b7686640ebb2dc1eaa060e42a41af6 (diff)
downloadlinux-c952775a3d72b0505c2f8f4171929c293479f0fd.tar.gz
linux-c952775a3d72b0505c2f8f4171929c293479f0fd.tar.bz2
linux-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 'drivers/cpufreq/freq_table.c')
-rw-r--r--drivers/cpufreq/freq_table.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/cpufreq/freq_table.c b/drivers/cpufreq/freq_table.c
index 185070052b41..c03a91502f84 100644
--- a/drivers/cpufreq/freq_table.c
+++ b/drivers/cpufreq/freq_table.c
@@ -14,7 +14,7 @@
* FREQUENCY TABLE HELPERS *
*********************************************************************/
-bool policy_has_boost_freq(struct cpufreq_policy *policy)
+static bool policy_has_boost_freq(struct cpufreq_policy *policy)
{
struct cpufreq_frequency_table *pos, *table = policy->freq_table;
@@ -27,7 +27,6 @@ bool policy_has_boost_freq(struct cpufreq_policy *policy)
return false;
}
-EXPORT_SYMBOL_GPL(policy_has_boost_freq);
int cpufreq_frequency_table_cpuinfo(struct cpufreq_policy *policy,
struct cpufreq_frequency_table *table)