public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [-mm patch] drivers/acpi/: make needlessly global functions static
@ 2005-09-02 21:16 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2005-09-02 21:16 UTC (permalink / raw)
  To: len.brown-ral2JQCrhuEAvxtiuMwx3w
  Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-09-02 21:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-02 21:16 [-mm patch] drivers/acpi/: make needlessly global functions static Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox