diff options
author | 2021-02-04 15:01:57 +0100 | |
---|---|---|
committer | 2021-02-04 15:15:19 +0100 | |
commit | d2386d791cb72e0dcaa5f43d509a4f71c44f47d8 (patch) | |
tree | 32c9e1377ce4a93e5e1b6982587f2ad70aede478 /mm/debug.c | |
parent | platform/x86: msi-wmi: Fix variable 'status' set but not used compiler warning (diff) | |
download | wireguard-linux-d2386d791cb72e0dcaa5f43d509a4f71c44f47d8.tar.xz wireguard-linux-d2386d791cb72e0dcaa5f43d509a4f71c44f47d8.zip |
platform/x86: thinkpad_acpi: Fix 'warning: no previous prototype for' warnings
Some of the new dytc handling functions are not marked static, even though
they are only used internally.
Mark these static, fixing the following compiler warnings:
drivers/platform/x86/thinkpad_acpi.c:10081:5: warning: no previous prototype for 'dytc_profile_get' [-Wmissing-prototypes]
drivers/platform/x86/thinkpad_acpi.c:10095:5: warning: no previous prototype for 'dytc_cql_command' [-Wmissing-prototypes]
drivers/platform/x86/thinkpad_acpi.c:10133:5: warning: no previous prototype for 'dytc_profile_set' [-Wmissing-prototypes]
Cc: Mark Pearson <markpearson@lenovo.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20210204140158.268289-1-hdegoede@redhat.com
Diffstat (limited to 'mm/debug.c')
0 files changed, 0 insertions, 0 deletions