On Thu, Jun 28, 2007 at 03:43:21AM -0700, Andrew Morton wrote:
This patch makes the needlessly global cpuidle_replace_governor() static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
--- linux-2.6.22-rc6-mm1/drivers/cpuidle/governor.c.old 2007-06-30 03:37:06.000000000 +0200
+++ linux-2.6.22-rc6-mm1/drivers/cpuidle/governor.c 2007-06-30 03:37:14.000000000 +0200
@@ -147,7 +147,7 @@
* @exclude_rating: the rating that will be skipped while looking for
* new governor.
*/
-struct cpuidle_governor *cpuidle_replace_governor(int exclude_rating)
+static struct cpuidle_governor *cpuidle_replace_governor(int exclude_rating)
{
struct cpuidle_governor *gov;
struct cpuidle_governor *ret_gov = NULL;
-