aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/cpufreq/cpufreq.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2025-01-23 10:48:34 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2025-02-07 09:45:14 +0530
commit1f04815057a4c1ca557448b56ad5ab536978540e (patch)
tree83ace24afa63326ab7fc8f946ff7052987a0dceb /drivers/cpufreq/cpufreq.c
parentcpufreq: Stop checking for duplicate available/boost freq attributes (diff)
downloadwireguard-linux-1f04815057a4c1ca557448b56ad5ab536978540e.tar.xz
wireguard-linux-1f04815057a4c1ca557448b56ad5ab536978540e.zip
cpufreq: staticize cpufreq_boost_trigger_state()
cpufreq_boost_trigger_state() is only used by cpufreq core, mark it static. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/cpufreq.c')
-rw-r--r--drivers/cpufreq/cpufreq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
index 42b00ca51035..eca649d062d0 100644
--- a/drivers/cpufreq/cpufreq.c
+++ b/drivers/cpufreq/cpufreq.c
@@ -88,6 +88,7 @@ static int cpufreq_set_policy(struct cpufreq_policy *policy,
struct cpufreq_governor *new_gov,
unsigned int new_pol);
static bool cpufreq_boost_supported(void);
+static int cpufreq_boost_trigger_state(int state);
/*
* Two notifier lists: the "policy" list is involved in the
@@ -2807,7 +2808,7 @@ static int cpufreq_boost_set_sw(struct cpufreq_policy *policy, int state)
return 0;
}
-int cpufreq_boost_trigger_state(int state)
+static int cpufreq_boost_trigger_state(int state)
{
struct cpufreq_policy *policy;
unsigned long flags;