summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/cpufreq_governor.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-02-21 03:15:34 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-03-09 14:41:10 +0100
commit94ab5e030fe10cfcc700050cc21535b824943077 (patch)
treefb9af6f6799fbc6d05c291b22de0b1631f703889 /drivers/cpufreq/cpufreq_governor.c
parentcpufreq: governor: Narrow down the dbs_data_mutex coverage (diff)
downloadlinux-94ab5e030fe10cfcc700050cc21535b824943077.tar.xz
linux-94ab5e030fe10cfcc700050cc21535b824943077.zip
cpufreq: governor: Make gov_set_update_util() static
The gov_set_update_util() routine is only used internally by the common governor code and it doesn't need to be exported, so make it static. No functional changes. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/cpufreq_governor.c')
-rw-r--r--drivers/cpufreq/cpufreq_governor.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/cpufreq/cpufreq_governor.c b/drivers/cpufreq/cpufreq_governor.c
index 542c9caf8815..c9a571fd79ac 100644
--- a/drivers/cpufreq/cpufreq_governor.c
+++ b/drivers/cpufreq/cpufreq_governor.c
@@ -261,8 +261,8 @@ unsigned int dbs_update(struct cpufreq_policy *policy)
}
EXPORT_SYMBOL_GPL(dbs_update);
-void gov_set_update_util(struct policy_dbs_info *policy_dbs,
- unsigned int delay_us)
+static void gov_set_update_util(struct policy_dbs_info *policy_dbs,
+ unsigned int delay_us)
{
struct cpufreq_policy *policy = policy_dbs->policy;
int cpu;
@@ -276,7 +276,6 @@ void gov_set_update_util(struct policy_dbs_info *policy_dbs,
cpufreq_set_update_util_data(cpu, &cdbs->update_util);
}
}
-EXPORT_SYMBOL_GPL(gov_set_update_util);
static inline void gov_clear_update_util(struct cpufreq_policy *policy)
{