platform/x86: thinkpad_acpi: Fix 'warning: no previous prototype for' warnings
authorHans de Goede <hdegoede@redhat.com>
Thu, 4 Feb 2021 14:01:57 +0000 (15:01 +0100)
committerHans de Goede <hdegoede@redhat.com>
Thu, 4 Feb 2021 14:15:19 +0000 (15:15 +0100)
commitd2386d791cb72e0dcaa5f43d509a4f71c44f47d8
tree32c9e1377ce4a93e5e1b6982587f2ad70aede478
parent2c15644ebed06949458bf6956ed124164ef51063
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
drivers/platform/x86/thinkpad_acpi.c