diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-08-15 11:46:30 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-08-24 03:25:47 +0200 |
commit | 0ed780e316f48e38b9dc33d783440da7a22c044d (patch) | |
tree | 0fb3729fc3816099e80ec73aaa7dc227d4c422fc /drivers/acpi/acpi_processor.c | |
parent | ACPI: processor: use dev_dbg() instead of dev_warn() when CPPC probe failed (diff) | |
download | linux-0ed780e316f48e38b9dc33d783440da7a22c044d.tar.xz linux-0ed780e316f48e38b9dc33d783440da7a22c044d.zip |
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>
Diffstat (limited to 'drivers/acpi/acpi_processor.c')
-rw-r--r-- | drivers/acpi/acpi_processor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpi_processor.c b/drivers/acpi/acpi_processor.c index f098e25b6b41..86c10599d9f8 100644 --- a/drivers/acpi/acpi_processor.c +++ b/drivers/acpi/acpi_processor.c @@ -670,7 +670,7 @@ err: } -void __init acpi_processor_check_duplicates(void) +static void __init acpi_processor_check_duplicates(void) { /* check the correctness for all processors in ACPI namespace */ acpi_walk_namespace(ACPI_TYPE_PROCESSOR, ACPI_ROOT_OBJECT, |