mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-09-21 11:53:01 +00:00
[ACPI] add static to function definitions
Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
aff8c2777d
commit
8713cbefaf
|
@ -1040,7 +1040,7 @@ static int __init acpi_wake_gpes_always_on_setup(char *str)
|
||||||
|
|
||||||
__setup("acpi_wake_gpes_always_on", acpi_wake_gpes_always_on_setup);
|
__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;
|
acpi_specific_hotkey_enabled = FALSE;
|
||||||
return 1;
|
return 1;
|
||||||
|
|
|
@ -44,7 +44,8 @@ struct acpi_pci_data {
|
||||||
struct pci_dev *dev;
|
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");
|
ACPI_FUNCTION_TRACE("acpi_pci_data_handler");
|
||||||
|
|
||||||
|
|
|
@ -221,7 +221,7 @@ static int acpi_processor_errata_piix4(struct pci_dev *dev)
|
||||||
return_VALUE(0);
|
return_VALUE(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
int acpi_processor_errata(struct acpi_processor *pr)
|
static int acpi_processor_errata(struct acpi_processor *pr)
|
||||||
{
|
{
|
||||||
int result = 0;
|
int result = 0;
|
||||||
struct pci_dev *dev = NULL;
|
struct pci_dev *dev = NULL;
|
||||||
|
|
|
@ -527,7 +527,7 @@ acpi_bus_driver_init(struct acpi_device *device, struct acpi_driver *driver)
|
||||||
return_VALUE(0);
|
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;
|
int result = 0;
|
||||||
struct acpi_driver *driver;
|
struct acpi_driver *driver;
|
||||||
|
|
Loading…
Reference in a new issue