Konrad Rzeszutek Wilk 2a14e541ed ACPI: Convert wake_sleep_flags to a value instead of function
With commit a2ef5c4fd44ce3922435139393b89f2cce47f576
"ACPI: Move module parameter gts and bfs to sleep.c" the wake_sleep_flags
is required when calling acpi_enter_sleep_state, which means
that if there are functions outside the sleep.c code they
can't get the wake_sleep_flags values.

This converts the function in to a exported value and converts
the module config operands to a function.

Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Lin Ming <ming.m.lin@intel.com>
[v2: Parameters can be turned on/off dynamically]
[v3: unsigned char -> u8]
[v4: val -> kp->arg]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Link: http://lkml.kernel.org/r/1335150198-21899-2-git-send-email-konrad.wilk@oracle.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2012-04-23 13:29:07 -07:00
..
2012-03-30 16:38:59 -04:00
2012-03-30 16:14:02 -04:00
2012-01-03 22:54:56 -05:00
2012-03-30 04:09:05 -04:00
2011-03-22 23:20:35 -04:00
2011-07-16 18:36:17 -04:00
2012-01-17 04:19:04 -05:00
2012-03-30 16:38:59 -04:00
2012-01-06 12:10:26 -08:00
2012-03-21 00:46:39 -04:00
2012-03-30 16:21:26 -04:00