aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/cpufreq.c
diff options
context:
space:
mode:
authorRashika Kheria <rashika.kheria@gmail.com>2014-02-26 11:42:42 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-02-26 18:49:36 -0500
commit8a5c74a175ac117e55a50b489ee041f40ff8866b (patch)
treea069bb3039a34245a0aaeb336e849e7d20275771 /drivers/cpufreq/cpufreq.c
parentecfc555c7485b64906f9713ef5eaafe6550b72b8 (diff)
cpufreq: Mark function as static in cpufreq.c
Mark function as static in cpufreq.c because it is not used outside this file. This eliminates the following warning in cpufreq.c: drivers/cpufreq/cpufreq.c:355:9: warning: no previous prototype for ‘show_boost’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/cpufreq.c')
-rw-r--r--drivers/cpufreq/cpufreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
index c755b5fe317c..5815af50d3de 100644
--- a/drivers/cpufreq/cpufreq.c
+++ b/drivers/cpufreq/cpufreq.c
@@ -352,7 +352,7 @@ EXPORT_SYMBOL_GPL(cpufreq_notify_post_transition);
352/********************************************************************* 352/*********************************************************************
353 * SYSFS INTERFACE * 353 * SYSFS INTERFACE *
354 *********************************************************************/ 354 *********************************************************************/
355ssize_t show_boost(struct kobject *kobj, 355static ssize_t show_boost(struct kobject *kobj,
356 struct attribute *attr, char *buf) 356 struct attribute *attr, char *buf)
357{ 357{
358 return sprintf(buf, "%d\n", cpufreq_driver->boost_enabled); 358 return sprintf(buf, "%d\n", cpufreq_driver->boost_enabled);