mirror of https://gitee.com/openkylin/linux.git
ACPI: static
make 2 needlessly global functions static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
ff55a9ceba
commit
6c5cf8aa58
|
@ -410,7 +410,8 @@ static int acpi_processor_get_throttling(struct acpi_processor *pr)
|
|||
return pr->throttling.acpi_processor_get_throttling(pr);
|
||||
}
|
||||
|
||||
int acpi_processor_set_throttling_fadt(struct acpi_processor *pr, int state)
|
||||
static int acpi_processor_set_throttling_fadt(struct acpi_processor *pr,
|
||||
int state)
|
||||
{
|
||||
u32 value = 0;
|
||||
u32 duty_mask = 0;
|
||||
|
@ -482,7 +483,8 @@ int acpi_processor_set_throttling_fadt(struct acpi_processor *pr, int state)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int acpi_processor_set_throttling_ptc(struct acpi_processor *pr, int state)
|
||||
static int acpi_processor_set_throttling_ptc(struct acpi_processor *pr,
|
||||
int state)
|
||||
{
|
||||
u32 value = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue