Arnd Bergmann 89d5b7178d ACPI: PM: s2idle: fix section mismatch warning
The acpi_sleep_suspend_setup() function is missing an __init annotation,
which causes a warning in rare configurations that end up not inlining
it into its caller:

WARNING: modpost: vmlinux.o: section mismatch in reference: acpi_sleep_suspend_setup (section: .text) -> acpi_s2idle_setup (section: .init.text)

It's only called from an __init function, so adding the annotation is
correct here.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2023-06-05 19:15:44 +02:00
..
2023-04-25 18:37:41 -07:00
2023-05-25 09:26:19 +02:00
2023-04-27 12:07:50 -07:00
2023-02-24 12:58:55 -08:00
2022-05-25 15:37:07 +02:00
2022-11-10 20:21:35 +01:00
2022-12-12 13:38:17 -08:00
2022-01-22 08:33:37 +02:00
2023-02-21 12:23:24 -08:00
2023-03-27 20:50:28 +02:00
2022-12-30 18:39:09 +01:00
2022-10-03 20:09:22 +02:00