public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@vyatta.com>
To: "Brown, Len" <len.brown@intel.com>, linux-acpi@vger.kernel.org
Subject: [PATCH] acpi: make sleep_states and acpi_gts_bfs_check static
Date: Mon, 18 Oct 2010 18:47:25 -0700	[thread overview]
Message-ID: <20101018184725.7e3ddf33@nehalam> (raw)

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;
 

             reply	other threads:[~2010-10-19  1:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-19  1:47 Stephen Hemminger [this message]
2010-10-19  4:09 ` [PATCH] acpi: make sleep_states and acpi_gts_bfs_check static Len Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101018184725.7e3ddf33@nehalam \
    --to=shemminger@vyatta.com \
    --cc=len.brown@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox