ACPI / sleep: mark acpi_sleep_dmi_check() __init

This makes a difference if the compiler decides not to inline the
function, as then the function's reference to acpisleep_dmi_table[]
yields a section mismatch warning.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
Jan Beulich 2015-01-23 08:12:06 +00:00 committed by Rafael J. Wysocki
parent ec6f34e5b5
commit 8b691c9cf2
1 changed files with 1 additions and 1 deletions

View File

@ -321,7 +321,7 @@ static struct dmi_system_id acpisleep_dmi_table[] __initdata = {
{},
};
static void acpi_sleep_dmi_check(void)
static void __init acpi_sleep_dmi_check(void)
{
int year;