Signed-off-by: Thomas Renninger <trenn@xxxxxxx> --- drivers/cpufreq/cpufreq_conservative.c | 2 +- drivers/cpufreq/cpufreq_ondemand.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/cpufreq/cpufreq_conservative.c b/drivers/cpufreq/cpufreq_conservative.c index 3aa99e6..8d541c6 100644 --- a/drivers/cpufreq/cpufreq_conservative.c +++ b/drivers/cpufreq/cpufreq_conservative.c @@ -60,7 +60,7 @@ static unsigned int def_sampling_rate; * - MIN_STAT_SAMPLING_RATE * To avoid that userspace shoots itself. */ -unsigned int minimum_sampling_rate(void) +static unsigned int minimum_sampling_rate(void) { return max(def_sampling_rate / 10, MIN_STAT_SAMPLING_RATE); } diff --git a/drivers/cpufreq/cpufreq_ondemand.c b/drivers/cpufreq/cpufreq_ondemand.c index 3220749..338f428 100644 --- a/drivers/cpufreq/cpufreq_ondemand.c +++ b/drivers/cpufreq/cpufreq_ondemand.c @@ -58,7 +58,7 @@ static unsigned int def_sampling_rate; * - MIN_STAT_SAMPLING_RATE * To avoid that userspace shoots itself. */ -unsigned int minimum_sampling_rate(void) +static unsigned int minimum_sampling_rate(void) { return max(def_sampling_rate / 10, MIN_STAT_SAMPLING_RATE); } -- 1.6.0.2 -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html