public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] acpi: make sleep_states and acpi_gts_bfs_check static
@ 2010-10-19  1:47 Stephen Hemminger
  2010-10-19  4:09 ` Len Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2010-10-19  1:47 UTC (permalink / raw)
  To: Brown, Len, linux-acpi

Only used in one file so should be static.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>

--- a/drivers/acpi/sleep.c	2010-10-06 13:49:36.786991555 +0900
+++ b/drivers/acpi/sleep.c	2010-10-06 13:50:24.185974243 +0900
@@ -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)
 {
@@ -680,7 +680,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;
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-10-19  4:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-19  1:47 [PATCH] acpi: make sleep_states and acpi_gts_bfs_check static Stephen Hemminger
2010-10-19  4:09 ` Len Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox