cpufreq: governor: Make gov_set_update_util() static
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 21 Feb 2016 02:15:34 +0000 (03:15 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 9 Mar 2016 13:41:10 +0000 (14:41 +0100)
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>
drivers/cpufreq/cpufreq_governor.c

index 542c9caf88153087fdbd66ef5bef16f93c55aa98..c9a571fd79ac2677734ee5478d0d21c524648342 100644 (file)
@@ -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)
 {