Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8a5c74a1 authored by Rashika Kheria's avatar Rashika Kheria Committed by Rafael J. Wysocki
Browse files

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: default avatarRashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent ecfc555c
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -352,7 +352,7 @@ EXPORT_SYMBOL_GPL(cpufreq_notify_post_transition);
/*********************************************************************
/*********************************************************************
 *                          SYSFS INTERFACE                          *
 *                          SYSFS INTERFACE                          *
 *********************************************************************/
 *********************************************************************/
ssize_t show_boost(struct kobject *kobj,
static ssize_t show_boost(struct kobject *kobj,
				 struct attribute *attr, char *buf)
				 struct attribute *attr, char *buf)
{
{
	return sprintf(buf, "%d\n", cpufreq_driver->boost_enabled);
	return sprintf(buf, "%d\n", cpufreq_driver->boost_enabled);