summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/sleep.c
diff options
context:
space:
mode:
authorStephen Hemminger2010-10-19 03:47:25 +0200
committerLen Brown2010-10-19 19:44:37 +0200
commit01eac60bccdb0ce49a2937d59da1e4749697a9aa (patch)
tree81e069fa25942b058dcf6a64e14b1b184566e51b /drivers/acpi/sleep.c
parentACPI: remove dead code (diff)
downloadkernel-qcow2-linux-01eac60bccdb0ce49a2937d59da1e4749697a9aa.tar.gz
kernel-qcow2-linux-01eac60bccdb0ce49a2937d59da1e4749697a9aa.tar.xz
kernel-qcow2-linux-01eac60bccdb0ce49a2937d59da1e4749697a9aa.zip
ACPI: static sleep_states[] and acpi_gts_bfs_check
Only used in one file so should be static. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/sleep.c')
-rw-r--r--drivers/acpi/sleep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c
index 4754ff6e70e6..b9af2c2ff926 100644
--- a/drivers/acpi/sleep.c
+++ b/drivers/acpi/sleep.c
@@ -25,7 +25,7 @@
#include "internal.h"
#include "sleep.h"
-u8 sleep_states[ACPI_S_STATE_COUNT];
+static u8 sleep_states[ACPI_S_STATE_COUNT];
static void acpi_sleep_tts_switch(u32 acpi_state)
{
@@ -702,7 +702,7 @@ static void acpi_power_off(void)
* paths through the BIOS, so disable _GTS and _BFS by default,
* but do speak up and offer the option to enable them.
*/
-void __init acpi_gts_bfs_check(void)
+static void __init acpi_gts_bfs_check(void)
{
acpi_handle dummy;