From: Adrian Bunk <bunk-HeJ8Db2Gnd6zQB+pC5nmwQ@public.gmane.org>
To: len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
linux-kernel
<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: [-mm patch] drivers/acpi/: make needlessly global functions static
Date: Fri, 2 Sep 2005 23:16:48 +0200 [thread overview]
Message-ID: <20050902211648.GW3657@stusta.de> (raw)
This patch makes some needlesly global functions static.
Signed-off-by: Adrian Bunk <bunk-HeJ8Db2Gnd6zQB+pC5nmwQ@public.gmane.org>
---
drivers/acpi/osl.c | 2 +-
drivers/acpi/pci_bind.c | 3 ++-
drivers/acpi/processor_core.c | 2 +-
drivers/acpi/scan.c | 2 +-
4 files changed, 5 insertions(+), 4 deletions(-)
--- linux-2.6.13-mm1-full/drivers/acpi/osl.c.old 2005-09-02 22:54:33.000000000 +0200
+++ linux-2.6.13-mm1-full/drivers/acpi/osl.c 2005-09-02 22:54:46.000000000 +0200
@@ -1038,7 +1038,7 @@
__setup("acpi_wake_gpes_always_on", acpi_wake_gpes_always_on_setup);
-int __init acpi_hotkey_setup(char *str)
+static int __init acpi_hotkey_setup(char *str)
{
acpi_specific_hotkey_enabled = FALSE;
return 1;
--- linux-2.6.13-mm1-full/drivers/acpi/pci_bind.c.old 2005-09-02 22:57:23.000000000 +0200
+++ linux-2.6.13-mm1-full/drivers/acpi/pci_bind.c 2005-09-02 22:57:45.000000000 +0200
@@ -44,7 +44,8 @@
struct pci_dev *dev;
};
-void acpi_pci_data_handler(acpi_handle handle, u32 function, void *context)
+static void acpi_pci_data_handler(acpi_handle handle, u32 function,
+ void *context)
{
ACPI_FUNCTION_TRACE("acpi_pci_data_handler");
--- linux-2.6.13-mm1-full/drivers/acpi/processor_core.c.old 2005-09-02 22:59:06.000000000 +0200
+++ linux-2.6.13-mm1-full/drivers/acpi/processor_core.c 2005-09-02 22:59:18.000000000 +0200
@@ -221,7 +221,7 @@
return_VALUE(0);
}
-int acpi_processor_errata(struct acpi_processor *pr)
+static int acpi_processor_errata(struct acpi_processor *pr)
{
int result = 0;
struct pci_dev *dev = NULL;
--- linux-2.6.13-mm1-full/drivers/acpi/scan.c.old 2005-09-02 22:59:48.000000000 +0200
+++ linux-2.6.13-mm1-full/drivers/acpi/scan.c 2005-09-02 23:00:02.000000000 +0200
@@ -527,7 +527,7 @@
return_VALUE(0);
}
-int acpi_start_single_object(struct acpi_device *device)
+static int acpi_start_single_object(struct acpi_device *device)
{
int result = 0;
struct acpi_driver *driver;
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
reply other threads:[~2005-09-02 21:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20050902211648.GW3657@stusta.de \
--to=bunk-hej8db2gnd6zqb+pc5nmwq@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.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