ACPI / sleep: mark acpi_sleep_dmi_check() __init
authorJan Beulich <JBeulich@suse.com>
Fri, 23 Jan 2015 08:12:06 +0000 (08:12 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 23 Jan 2015 21:10:16 +0000 (22:10 +0100)
commit8b691c9cf297bc32a021b7fef0dd0e32f130e542
tree1ad7ba645c3d4b0183163fb4f3c4c6f7ab96c1f9
parentec6f34e5b552fb0a52e6aae1a5afbbb1605cc6cc
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>
drivers/acpi/sleep.c