This patch makes some needlesly global functions static.

Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>

---

 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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to