]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/acpi/sleep.c
ACPI: static sleep_states[] and acpi_gts_bfs_check
[net-next-2.6.git] / drivers / acpi / sleep.c
index 4754ff6e70e6daa25b13df6f115745eb7bfb7e55..b9af2c2ff926631fb2df71502eec359a5489f5f1 100644 (file)
@@ -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;