mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 06:12:08 +00:00
ACPI / osi: Make local function acpi_osi_dmi_linux() static
The function acpi_osi_dmi_linux() is local and does not need to be in global scope, so make it static. Cleans up sparse warning: "symbol 'acpi_osi_dmi_linux' 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>
This commit is contained in:
parent
6f7da29041
commit
5438bc573a
@ -265,7 +265,8 @@ static void __init acpi_osi_dmi_darwin(bool enable,
|
||||
__acpi_osi_setup_darwin(enable);
|
||||
}
|
||||
|
||||
void __init acpi_osi_dmi_linux(bool enable, const struct dmi_system_id *d)
|
||||
static void __init acpi_osi_dmi_linux(bool enable,
|
||||
const struct dmi_system_id *d)
|
||||
{
|
||||
pr_notice("DMI detected to setup _OSI(\"Linux\"): %s\n", d->ident);
|
||||
osi_config.linux_dmi = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user