浏览代码

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>
Adrian Bunk 18 年之前
父节点
当前提交
836a53f42f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/misc/thinkpad_acpi.h

+ 1 - 1
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;