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

ACPI / processor: make function acpi_processor_check_duplicates() static

The function acpi_processor_check_duplicates() is local to the source
and does not need to be in global scope, so make it static.

Cleans up sparse warnings:
symbol 'acpi_processor_check_duplicates' was not declared. Should it
be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Colin Ian King and committed by
Rafael J. Wysocki
0ed780e3 512bb03f

+1 -1
+1 -1
drivers/acpi/acpi_processor.c
··· 670 670 671 671 } 672 672 673 - void __init acpi_processor_check_duplicates(void) 673 + static void __init acpi_processor_check_duplicates(void) 674 674 { 675 675 /* check the correctness for all processors in ACPI namespace */ 676 676 acpi_walk_namespace(ACPI_TYPE_PROCESSOR, ACPI_ROOT_OBJECT,