]> err.no Git - linux-2.6/commitdiff
thinkpad-acpi: make drivers/misc/thinkpad_acpi:fan_mutex static
authorAdrian Bunk <bunk@stusta.de>
Sat, 28 Apr 2007 19:19:38 +0000 (21:19 +0200)
committerLen Brown <len.brown@intel.com>
Sun, 29 Apr 2007 01:52:49 +0000 (21:52 -0400)
This patch makes the needlessly global fan_mutex static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/misc/thinkpad_acpi.h

index a6c285585863cf50d6b1a32a6f8ea7786e577065..440145a026174c90bfcf85a05bc434d5504a3c21 100644 (file)
@@ -386,7 +386,7 @@ static u8 fan_control_initial_status;
 static u8 fan_control_desired_level;
 static int fan_watchdog_maxinterval;
 
-struct mutex fan_mutex;
+static struct mutex fan_mutex;
 
 static acpi_handle fans_handle, gfan_handle, sfan_handle;