aboutsummaryrefslogtreecommitdiffstats
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
parentACPI: thinkpad-acpi: add sysfs support to wan and bluetooth subdrivers (diff)
downloadlinux-dev-836a53f42f3b5d5cb3a0751587ea33801e4b120d.tar.xz
linux-dev-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>
-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;