Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751642AbWCDMOX (ORCPT ); Sat, 4 Mar 2006 07:14:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751709AbWCDMOX (ORCPT ); Sat, 4 Mar 2006 07:14:23 -0500 Received: from emailhub.stusta.mhn.de ([141.84.69.5]:17680 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S1751630AbWCDMOW (ORCPT ); Sat, 4 Mar 2006 07:14:22 -0500 Date: Sat, 4 Mar 2006 13:14:21 +0100 From: Adrian Bunk To: Andrew Morton , Ashok Raj Cc: linux-kernel@vger.kernel.org, len.brown@intel.com, linux-acpi@vger.kernel.org Subject: [-mm patch] drivers/acpi/bus.c: make struct acpi_sci_dir static Message-ID: <20060304121421.GK9295@stusta.de> References: <20060303045651.1f3b55ec.akpm@osdl.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060303045651.1f3b55ec.akpm@osdl.org> User-Agent: Mutt/1.5.11+cvs20060126 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1060 Lines: 32 On Fri, Mar 03, 2006 at 04:56:51AM -0800, Andrew Morton wrote: >... > Changes since 2.6.16-rc5-mm1: >... > +enable-sci_emulate-to-manually-simulate-physical-hotplug-testing.patch > > x86_64 CPU hotplug >... There's no reason for struct acpi_sci_dir being global. Signed-off-by: Adrian Bunk --- linux-2.6.16-rc5-mm2-full/drivers/acpi/bus.c.old 2006-03-03 17:33:38.000000000 +0100 +++ linux-2.6.16-rc5-mm2-full/drivers/acpi/bus.c 2006-03-03 17:33:51.000000000 +0100 @@ -47,7 +47,7 @@ static void acpi_sci_notify_client(char *acpi_name, u32 event); static int acpi_sci_notify_write_proc(struct file *file, const char *buffer, \ unsigned long count, void *data); -struct proc_dir_entry *acpi_sci_dir; +static struct proc_dir_entry *acpi_sci_dir; #else #define acpi_init_sci_emulate() - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/