From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrian Bunk Subject: [2.6 patch] drivers/acpi/hotkey.c: make 2 structs static Date: Tue, 30 Jan 2007 02:11:49 +0100 Message-ID: <20070130011149.GB3754@stusta.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailout.stusta.mhn.de ([141.84.69.5]:47379 "EHLO mailhub.stusta.mhn.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752607AbXA3BLn (ORCPT ); Mon, 29 Jan 2007 20:11:43 -0500 Content-Disposition: inline Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: lenb@kernel.org Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org This patch makes two needlessly global structs static. Signed-off-by: Adrian Bunk --- linux-2.6.20-rc6-mm1/drivers/acpi/hotkey.c.old 2007-01-28 23:31:03.000000000 +0100 +++ linux-2.6.20-rc6-mm1/drivers/acpi/hotkey.c 2007-01-28 23:31:23.000000000 +0100 @@ -234,8 +234,8 @@ .release = single_release, }; -struct acpi_hotkey_list global_hotkey_list; /* link all ev or pl hotkey */ -struct list_head hotkey_entries; /* head of the list of hotkey_list */ +static struct acpi_hotkey_list global_hotkey_list; /* link all ev or pl hotkey */ +static struct list_head hotkey_entries; /* head of the list of hotkey_list */ static int hotkey_info_seq_show(struct seq_file *seq, void *offset) {