From patchwork Tue Oct 19 01:47:25 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 264061 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o9J1lUeb020476 for ; Tue, 19 Oct 2010 01:47:31 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753941Ab0JSBr3 (ORCPT ); Mon, 18 Oct 2010 21:47:29 -0400 Received: from mail.vyatta.com ([76.74.103.46]:47986 "EHLO mail.vyatta.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753328Ab0JSBr3 (ORCPT ); Mon, 18 Oct 2010 21:47:29 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.vyatta.com (Postfix) with ESMTP id 26B251828960; Mon, 18 Oct 2010 18:47:29 -0700 (PDT) X-Virus-Scanned: amavisd-new at tahiti.vyatta.com Received: from mail.vyatta.com ([127.0.0.1]) by localhost (mail.vyatta.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3NqwNegRZgLM; Mon, 18 Oct 2010 18:47:27 -0700 (PDT) Received: from nehalam (pool-74-107-135-205.ptldor.fios.verizon.net [74.107.135.205]) by mail.vyatta.com (Postfix) with ESMTPSA id CEBA3182895D; Mon, 18 Oct 2010 18:47:26 -0700 (PDT) Date: Mon, 18 Oct 2010 18:47:25 -0700 From: Stephen Hemminger To: "Brown, Len" , linux-acpi@vger.kernel.org Subject: [PATCH] acpi: make sleep_states and acpi_gts_bfs_check static Message-ID: <20101018184725.7e3ddf33@nehalam> Organization: Vyatta X-Mailer: Claws Mail 3.7.6 (GTK+ 2.22.0; x86_64-pc-linux-gnu) Mime-Version: 1.0 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Tue, 19 Oct 2010 01:47:31 +0000 (UTC) --- 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;