summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-04-28 21:19:38 +0200
committerLen Brown <len.brown@intel.com>2007-04-28 21:52:49 -0400
commit836a53f42f3b5d5cb3a0751587ea33801e4b120d (patch)
treec320fa7fdddc3475ba9cf0299628b789a73be4fb /drivers/misc
parentd3a6ade4f84416d774c3e5db5faae1840d55bd97 (diff)
downloadlinux-836a53f42f3b5d5cb3a0751587ea33801e4b120d.tar.gz
linux-836a53f42f3b5d5cb3a0751587ea33801e4b120d.tar.bz2
linux-836a53f42f3b5d5cb3a0751587ea33801e4b120d.zip
thinkpad-acpi: make drivers/misc/thinkpad_acpi:fan_mutex static
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>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/thinkpad_acpi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/thinkpad_acpi.h b/drivers/misc/thinkpad_acpi.h
index a6c285585863..440145a02617 100644
--- a/drivers/misc/thinkpad_acpi.h
+++ b/drivers/misc/thinkpad_acpi.h
@@ -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;