Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[ACPI] add static to function definitions

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Len Brown <len.brown@intel.com>

authored by

Adrian Bunk and committed by
Len Brown
8713cbef aff8c277

+5 -4
+1 -1
drivers/acpi/osl.c
··· 1040 1040 1041 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 1045 acpi_specific_hotkey_enabled = FALSE; 1046 1046 return 1;
+2 -1
drivers/acpi/pci_bind.c
··· 44 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 50 ACPI_FUNCTION_TRACE("acpi_pci_data_handler"); 50 51
+1 -1
drivers/acpi/processor_core.c
··· 221 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 226 int result = 0; 227 227 struct pci_dev *dev = NULL;
+1 -1
drivers/acpi/scan.c
··· 527 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 532 int result = 0; 533 533 struct acpi_driver *driver;