aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica
diff options
context:
space:
mode:
authorLin Ming <ming.m.lin@intel.com>2012-03-20 22:58:46 -0400
committerLen Brown <len.brown@intel.com>2012-03-26 21:16:26 -0400
commita2ef5c4fd44ce3922435139393b89f2cce47f576 (patch)
treecd94b53ba4975972022c9f48916d367a07b84386 /drivers/acpi/acpica
parent8a73b17e4c0e09cb5b80deee5451e29b830df4cc (diff)
ACPI: Move module parameter gts and bfs to sleep.c
Move linux specific module parameter gts and bfs out of ACPICA core code to sleep.c. Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica')
-rw-r--r--drivers/acpi/acpica/hwesleep.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/acpi/acpica/hwesleep.c b/drivers/acpi/acpica/hwesleep.c
index 1c409e82c46..29e859293ed 100644
--- a/drivers/acpi/acpica/hwesleep.c
+++ b/drivers/acpi/acpica/hwesleep.c
@@ -44,17 +44,10 @@
44 44
45#include <acpi/acpi.h> 45#include <acpi/acpi.h>
46#include "accommon.h" 46#include "accommon.h"
47#include <linux/module.h>
48 47
49#define _COMPONENT ACPI_HARDWARE 48#define _COMPONENT ACPI_HARDWARE
50ACPI_MODULE_NAME("hwesleep") 49ACPI_MODULE_NAME("hwesleep")
51 50
52static unsigned int gts, bfs;
53module_param(gts, uint, 0644);
54module_param(bfs, uint, 0644);
55MODULE_PARM_DESC(gts, "Enable evaluation of _GTS on suspend.");
56MODULE_PARM_DESC(bfs, "Enable evaluation of _BFS on resume".);
57
58/******************************************************************************* 51/*******************************************************************************
59 * 52 *
60 * FUNCTION: acpi_hw_execute_sleep_method 53 * FUNCTION: acpi_hw_execute_sleep_method
@@ -76,12 +69,6 @@ void acpi_hw_execute_sleep_method(char *method_pathname, u32 integer_argument)
76 69
77 ACPI_FUNCTION_TRACE(hw_execute_sleep_method); 70 ACPI_FUNCTION_TRACE(hw_execute_sleep_method);
78 71
79 if (!ACPI_STRCMP(METHOD_PATHNAME__GTS, method_pathname) && !gts)
80 return_VOID;
81
82 if (!ACPI_STRCMP(METHOD_PATHNAME__BFS, method_pathname) && !bfs)
83 return_VOID;
84
85 /* One argument, integer_argument; No return value expected */ 72 /* One argument, integer_argument; No return value expected */
86 73
87 arg_list.count = 1; 74 arg_list.count = 1;