Skip to content

Commit

Permalink
ACPI: static sleep_states[] and acpi_gts_bfs_check
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Hemminger authored and Len Brown committed Oct 19, 2010
1 parent 5ba8b1c commit 01eac60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions drivers/acpi/sleep.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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;

Expand Down
1 change: 0 additions & 1 deletion drivers/acpi/sleep.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

extern u8 sleep_states[];
extern int acpi_suspend(u32 state);

extern void acpi_enable_wakeup_devices(u8 sleep_state);
Expand Down

0 comments on commit 01eac60

Please sign in to comment.