diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-09-02 17:16:48 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-09-03 00:20:13 -0400 |
commit | 8713cbefafbb5a101ade541a4b0ffa108bf697cc (patch) | |
tree | 250886ed98620f32c401e823f523004014081c61 | |
parent | aff8c2777d1a9edf97f26bf60579f9c931443eb1 (diff) |
[ACPI] add static to function definitions
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Len Brown <len.brown@intel.com>
-rw-r--r-- | drivers/acpi/osl.c | 2 | ||||
-rw-r--r-- | drivers/acpi/pci_bind.c | 3 | ||||
-rw-r--r-- | drivers/acpi/processor_core.c | 2 | ||||
-rw-r--r-- | drivers/acpi/scan.c | 2 |
4 files changed, 5 insertions, 4 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index dc69d8760a54..d528c750a380 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
@@ -1040,7 +1040,7 @@ static int __init acpi_wake_gpes_always_on_setup(char *str) | |||
1040 | 1040 | ||
1041 | __setup("acpi_wake_gpes_always_on", acpi_wake_gpes_always_on_setup); | 1041 | __setup("acpi_wake_gpes_always_on", acpi_wake_gpes_always_on_setup); |
1042 | 1042 | ||
1043 | int __init acpi_hotkey_setup(char *str) | 1043 | static int __init acpi_hotkey_setup(char *str) |
1044 | { | 1044 | { |
1045 | acpi_specific_hotkey_enabled = FALSE; | 1045 | acpi_specific_hotkey_enabled = FALSE; |
1046 | return 1; | 1046 | return 1; |
diff --git a/drivers/acpi/pci_bind.c b/drivers/acpi/pci_bind.c index a4955685e4c0..2a718df769b5 100644 --- a/drivers/acpi/pci_bind.c +++ b/drivers/acpi/pci_bind.c | |||
@@ -44,7 +44,8 @@ struct acpi_pci_data { | |||
44 | struct pci_dev *dev; | 44 | struct pci_dev *dev; |
45 | }; | 45 | }; |
46 | 46 | ||
47 | void acpi_pci_data_handler(acpi_handle handle, u32 function, void *context) | 47 | static void acpi_pci_data_handler(acpi_handle handle, u32 function, |
48 | void *context) | ||
48 | { | 49 | { |
49 | ACPI_FUNCTION_TRACE("acpi_pci_data_handler"); | 50 | ACPI_FUNCTION_TRACE("acpi_pci_data_handler"); |
50 | 51 | ||
diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c index 819cb0b453fc..421792562642 100644 --- a/drivers/acpi/processor_core.c +++ b/drivers/acpi/processor_core.c | |||
@@ -221,7 +221,7 @@ static int acpi_processor_errata_piix4(struct pci_dev *dev) | |||
221 | return_VALUE(0); | 221 | return_VALUE(0); |
222 | } | 222 | } |
223 | 223 | ||
224 | int acpi_processor_errata(struct acpi_processor *pr) | 224 | static int acpi_processor_errata(struct acpi_processor *pr) |
225 | { | 225 | { |
226 | int result = 0; | 226 | int result = 0; |
227 | struct pci_dev *dev = NULL; | 227 | struct pci_dev *dev = NULL; |
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index 8a3ea41063ec..c6db591479de 100644 --- a/drivers/acpi/scan.c +++ b/drivers/acpi/scan.c | |||
@@ -527,7 +527,7 @@ acpi_bus_driver_init(struct acpi_device *device, struct acpi_driver *driver) | |||
527 | return_VALUE(0); | 527 | return_VALUE(0); |
528 | } | 528 | } |
529 | 529 | ||
530 | int acpi_start_single_object(struct acpi_device *device) | 530 | static int acpi_start_single_object(struct acpi_device *device) |
531 | { | 531 | { |
532 | int result = 0; | 532 | int result = 0; |
533 | struct acpi_driver *driver; | 533 | struct acpi_driver *driver; |